fxlauncher icon indicating copy to clipboard operation
fxlauncher copied to clipboard

Create Exe or Debian Package

Open dhavalsolanki opened this issue 5 years ago • 5 comments

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

dhavalsolanki avatar Sep 09 '19 13:09 dhavalsolanki

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.

edvin avatar Sep 11 '19 08:09 edvin

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

dhavalsolanki avatar Sep 11 '19 12:09 dhavalsolanki

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.

edvin avatar Sep 12 '19 05:09 edvin

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 ?

dhavalsolanki avatar Sep 17 '19 08:09 dhavalsolanki

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

edvin avatar Sep 17 '19 08:09 edvin