jpackage ea-17 --mac-entitlements
Michael Hall
mik3hall at gmail.com
Sat Apr 10 17:06:33 UTC 2021
> On Apr 9, 2021, at 9:27 PM, Michael Hall <mik3hall at gmail.com> wrote:
>
> Although I believe
> codesign -v --verbose=4 outputdir/HalfPipe.app
> This verify would be sufficient to reproduce that error for any(?) jpackage Developer signed application.
An additional thought on this might be that it would be an idea to include a codesign verify as part of the build. From my java command line app.
exec codesign -v /Applications/BBEdit.app
exec codesign -v /Users/mjh/HalfPipe/halfpipe_jpkg/outputdir/HalfPipe.app
/Users/mjh/HalfPipe/halfpipe_jpkg/outputdir/HalfPipe.app: a sealed resource is missing or invalid
exec codesign -v /Applications/BBEdit.app | wc
wc: chars - 0
wc: words - 0
wc: lines - 0
exec codesign -v /Users/mjh/HalfPipe/halfpipe_jpkg/outputdir/HalfPipe.app | wc
wc: chars - 97
wc: words - 8
wc: lines - 1
Verify appears to return nothing if it succeeds and an error message if it doesn’t. From java it might have to check on that?
I could RFE if wanted.
More information about the core-libs-dev
mailing list