> On Sep 2, 2020, at 12:14 PM, Scott Palmer <[email protected]> wrote:
> 
> If your app need to use environment variables to configure something for 
> runtime it is probably best to have your own stub launcher and launch a 
> sub-process.  

They need to be available at runtime for external native that expects them to 
be present. 

> 
> It can be tricky to have a smooth user experience with that though. You would 
> want to avoid an extra icon in the dock/start bar. You don’t want the other 
> process to show up as “java.exe”, etc.  That’s the benefit of trying to solve 
> this in the launcher created by jpackage. 
> 

What I am suggesting would be handled by jpackage within the application 
bundle. It would modify the Info.plist to include the LSEnvironment entries.

Reply via email to