Skip to content

Commit

Permalink
Fix jpackage task
Browse files Browse the repository at this point in the history
  • Loading branch information
favu100 committed Sep 28, 2020
1 parent 68bddd2 commit 999cbff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -68,13 +68,13 @@ task jpackage(type: Exec) {
iconPath = 'src/main/deploy/package/macosx/prob2-ui.icns'
commandLine "${JAVA_HOME}/bin/jpackage", '--icon', "${iconPath}", "--dest", "build/distributions",
"--name", "${appName}", '--input', 'build/libs', '--main-class', "${mainClassName}",
'--main-jar', "prob2-ui-${project.version}-all.jar", '--linux-menu-group', "ProB2-UI",
'--main-jar', "prob2-ui-${project.version}-all.jar",
'--app-version', "${appVersion}", '--copyright', "Heinrich-Heine-University, Institut für Softwaretechnik und Programmiersprachen 2020", '--vendor', "Heinrich-Heine-University, Institut für Softwaretechnik und Programmiersprachen"
} else { // Linux
iconPath = 'src/main/deploy/package/linux/prob2-ui.png'
commandLine "${JAVA_HOME}/bin/jpackage", '--icon', "${iconPath}", "--dest", "build/distributions",
"--name", "${appName}", '--input', 'build/libs', '--main-class', "${mainClassName}",
'--main-jar', "prob2-ui-${project.version}-all.jar",
'--main-jar', "prob2-ui-${project.version}-all.jar", '--linux-menu-group', "ProB2-UI",
'--app-version', "${appVersion}", '--copyright', "Heinrich-Heine-University, Institut für Softwaretechnik und Programmiersprachen 2020", '--vendor', "Heinrich-Heine-University, Institut für Softwaretechnik und Programmiersprachen"
}

Expand Down

0 comments on commit 999cbff

Please sign in to comment.