edvin / fxlauncher

Auto updating launcher for JavaFX Applications
Apache License 2.0
714 stars 110 forks source link

More parameters for native installers #117

Open MrVlad001 opened 6 years ago

MrVlad001 commented 6 years ago

Hi @edvin , I'm trying to use fxlauncher for my application. FXLauncher works and looks great! But I was faced with a problem when build a native installers. FXLauncher don't have enough params to create the required installer. Currently I am using javafx-gradle-plugin that has the necessary for me parameters ( bundleArguments, fileAssociations, needShortcut etc.). Is it possible to do this in the FXLauncher or use javafx-gradle-plugin and fxlauncher in a bundle? Thank you, @edvin !

edvin commented 6 years ago

FXLauncher itself has no problems with those arguments, as they are just parameters passed to javapackager. If you look at the Maven example it should be trivial as you just add a line for your parameter. For Gradle you can pass those in javapackagerOptions.