<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On Sep 20, 2022, at 5:01 PM, Michael Hall <<a href="mailto:mik3hall@gmail.com" class="">mik3hall@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html; charset=utf-8" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><br class=""><div class=""><br class=""><blockquote type="cite" class=""><div style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><blockquote type="cite" class=""><div class=""><div class="" style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;"><div class=""><blockquote type="cite" class=""><div class=""><br class=""><br class="" style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;"></div></blockquote></div><br class=""><div class="">Alexander,</div><div class=""><br class=""></div><div class="">I think I figured out how to include PR’s in my build and this appears good.</div><div class=""><br class=""></div><div class="">codesign -v --verbose=4 "/Volumes/BlackJack Blastoff_Unsigned/BlackJack Blastoff_Unsigned.app"<br class="">/Volumes/BlackJack Blastoff_Unsigned/BlackJack Blastoff_Unsigned.app: valid on disk<br class="">/Volumes/BlackJack Blastoff_Unsigned/BlackJack Blastoff_Unsigned.app: satisfies its Designated Requirement<br class=""><br class=""></div><div class="">This was new…</div><div class="">Warning: Support for per-user configuration of the installed application will not be supported due to missing "BlackJack Blastoff_Unsigned.app/Contents/app/.package" in predefined signed application image.</div><div class=""><br class=""></div><div class="">I’m not quite sure what it’s saying but it doesn’t seem to impact what I’m doing.</div></div></div></blockquote><div class=""><br class=""></div><div class="">This warning means that support for per-user configuration of the installed application will be disabled. We added support for per-user configuration with <a href="https://bugs.openjdk.org/browse/JDK-8250950" class="">https://bugs.openjdk.org/browse/JDK-8250950</a> (Allow per-user and system wide configuration of a jpackaged app).</div><div class=""><br class=""></div><div class="">Thanks,</div><div class="">Alexander</div><br class=""></div></blockquote></div><br class=""><div class="">Alexander,</div><div class=""><br class=""></div><div class="">I’ll take a look. It sounds like it could be a useful feature at times. The last update still works for me.</div><div class=""><br class=""></div><div class="">Thanks again,</div><div class="">Mike</div></div></div></blockquote><br class=""></div><div>Alexander, </div><div>One thing I notice is that </div><div>Release Note: Allow per-user and System Wide Configuration of a jpackaged app</div><div><a href="https://bugs.openjdk.org/browse/JDK-8288249" class="">https://bugs.openjdk.org/browse/JDK-8288249</a></div><div>Mentions…</div><div>~/Library/Application Support/${PACKAGE_NAME} </div><div>Which would be a per user location. But doesn’t mention</div><div>/Library</div><div>Which would be the system level location.</div><div><br class=""></div><div>Since both of these locations are external to the application bundle I’m not understanding why they would no longer work with whatever you changed.</div><div>I may need to look closer.</div><div>Given that this does break that, one possibility might be to include parameter changes in the Info.plist file. Some time back Apple java applications used to include a java dictionary in the plist that was more or less equivalent to the jpackage .cfg file. Maybe a override mechanism could be added to that which would be up to the developer to add in post processing. </div><div>Customizing the Info.plist file is still the main thing I am considering doing for this feature.</div><div>Another recent thought was that I could use this to add a hsdis dylib to the jdk lib directory for an application to allow printing disassembly. But then I noticed it doesn’t appear that hsdis is even needed in recent jdk’s? -XX:+PrintAssembly seems to just work. Still you could use post-processing to add whatever java binary executable commands you wanted. This again would mean changes to the embedded jdk that might have signing side effects. I haven’t tested.  </div><div><br class=""></div><div>Mike</div><div><br class=""></div><div><br class=""></div><br class=""></body></html>