Fixed runtime task for ubuntu / deb packaging. Added --enable-preview.
@@ -252,7 +252,8 @@ runtime {
installerOptions = ["--license-file", "LICENSE.txt"]
}
if (OperatingSystem.current().isLinux()) {
- // rpmbuild and rpm tools need to be installed (rpm and deb are the default targets on linux)
+ // for rpm, rpmbuild and rpm tools need to be installed, installerType needs to be set to "rpm"
+ installerType = "deb"
// additional options for jpackage
imageOptions = ["--icon", "src/main/resources/MZmineIcon.png"]
installerOptions = ["--linux-shortcut",
@@ -270,7 +271,8 @@ runtime {
"-XX:MinRAMPercentage=80",
"-XX:MaxRAMPercentage=80",
"-enableassertions",
- "-Djava.util.logging.config.class=io.github.mzmine.main.MZmineLoggingConfiguration"
+ "-Djava.util.logging.config.class=io.github.mzmine.main.MZmineLoggingConfiguration",
+ "--enable-preview"
]
}
}
