Skip to content

Commit

Permalink
Fix installers and add Linux icon
Browse files Browse the repository at this point in the history
  • Loading branch information
felixw authored and felixw committed Mar 8, 2021
1 parent 30ec074 commit 5b96231
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions installer/linux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,7 @@ DESCRIPTION_TEXT="No-Code Approach to Secure Multi-Party Computation"
VENDOR="Berlin Institute of Health and Technical University of Darmstadt"
COPYRIGHT="Licensed under the Apache License, Version 2.0 (the License); you may not use this file except in compliance with the License. You may obtain a copy of the License at: http://www.apache.org/licenses/LICENSE-2.0"
LICENSE_FILE="../LICENSE"
# Todo resize png
# ICONPATH="../src/main/resources/org/bihealth/mi/easysmpc/resources/icon.png"
ICONPATH="../src/main/resources/org/bihealth/mi/easysmpc/resources/icon256.png"
#add file associations?

PACKAGE_COMMAND="jpackage --input $BUILD_PATH\
Expand All @@ -29,6 +28,7 @@ PACKAGE_COMMAND="jpackage --input $BUILD_PATH\
--copyright \"$COPYRIGHT\"\
--license-file $LICENSE_FILE\
--linux-menu-group\
--linux-shortcut\"
--linux-shortcut\
--icon \"$ICONPATH\""

eval $PACKAGE_COMMAND
eval $PACKAGE_COMMAND
6 changes: 3 additions & 3 deletions installer/macos.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ PACKAGE_COMMAND="jpackage --input $BUILD_PATH\
--copyright \"$COPYRIGHT\"\
--license-file $LICENSE_FILE\
--mac-package-identifier $APPLICATION_NAME\
--mac-package-name $APPLICATION_NAME"
--icon %ICONPATH%
--mac-package-name $APPLICATION_NAME
--icon %ICONPATH%"

eval $PACKAGE_COMMAND
eval $PACKAGE_COMMAND
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 5b96231

Please sign in to comment.