edvin/fxlauncher

Create Exe or Debian Package

dhavalsolanki opened this issue · 5 comments

Hello,
I am using fxlauncher in my application. Is there any way to create exe and debian package using fxlauncher api.

edvin commented

Yes, that's literally what it does - package your app and wrap it in an executable. Please see one of the example projects (maven or gradle). You will need to run the installer step once on each target platform to get a binary.

But it is actually generating executable exe. Can i generate installer for my project ?

edvin commented

Yes, there is a generate-installer step in the example projects which builds installers. On windows, it has a prerequisite on a third party installer framework, which it will prompt you for during installation.

Hello,
Thanks for the response.
Now i am stuck in creating a debian package of fxlauncher, is there any way to create it using any maven plugin ?

edvin commented

Fxlauncher uses javapackager to create a deb package if you include -native deb, like it is described in the docs:

https://docs.oracle.com/javase/8/docs/technotes/tools/unix/javapackager.html