theapache64
03/15/2021, 3:07 PMdirChooser
flag, is there any way to define default installation directory? I read it's possible via `jpackage`'s --install-dir
option, but how can I pass that param from build.gradle.kts
? 🤔olonho
03/15/2021, 3:20 PMtheapache64
03/15/2021, 4:04 PMbuild.gradle.kts
?installationPath
to /some/dir
, then on windows, the files will be extracted to which directory?
• also, if i want to extract the files to AppData/Roaming/MyApp
directory in windows, and default directory in linux and mac, what should be the installationPath
value?alexey.tsvetkov
03/16/2021, 6:59 AM--install-dir
is available as a installationPath
DSL property.
installationPath
is specified for each OS separately (I don’t think a common path would be sensible across Linux, MacOS and Windows).
If you don’t provide an installationPath
value for an OS, a default value is used.
compose.desktop {
application {
nativeDistributions {
macOS {
installationPath = "/Applications/my-app"
}
windows {
installationPath = "C:\Program Files\My Application"
}
linux {
// default installationPath will be used
}
}
}
}
theapache64
03/16/2021, 7:03 AM