I have a Java FX Project building with Maven and use the FXLauncher https://github.com/edvin/fxlauncher to enable auto updating the application. Native installers are created using the javapackager https://docs.oracle.com/javase/8/docs/technotes/tools/unix/javapackager.html deploy command.
I want the FXLauncher to start in headless mode. According to the documentation this is done starting the fxlauncher with the corresponding command on command line:
java -classpath fxlauncher.jar fxlauncher.HeadlessMainLauncher
The problem I am struggeling with is that I can't figure out reading the javapackager documentation how to configure the deploy comand to create an executable starting the fxlauncher this way. Any ideas?
Thank you