I'm building a JavaFX application and using the JavaFX packaging tools by means of the JavaFX-Gradle-plugin. I'm generating various launchers with this configuration:
jfx {
mainClass = "tech.dashman.dashman.ConfiguratorApp"
vendor = "Dashman"
appName = "Dashman"
nativeReleaseVersion = "1.0.0"
secondaryLaunchers = [
[
appName : "Dashman Renderer",
mainClass: "tech.dashman.dashman.RendererApp",
needMenu : true
],
[
appName : "Dashman Displayer",
mainClass: "tech.dashman.dashman.DisplayerApp",
needMenu : true
],
[
appName : "Dashman Screensaver",
mainClass: "tech.dashman.dashman.WinScreensaverApp",
needMenu : false
]
]
}
but the last one, to be a proper Windows screensaver, it needs to have the .scr
extension instead of .exe
. How do I generate it with that name or rename it before the installation file is generated?