Skip to content

Commit

Permalink
#151 linux dist
Browse files Browse the repository at this point in the history
  • Loading branch information
yermak committed Jan 9, 2021
1 parent 853d0e9 commit 46bfc52
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions build/linux/package.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
$JAVA_HOME/bin/jlink --module-path $JAVA_HOME/jmods:$JAVAFX_JMODS \
--add-modules java.base,java.sql,javafx.controls,javafx.fxml,javafx.media,javafx.base,javafx.swing,javafx.graphics --output target/fx-jre

$JAVA_HOME/bin/jpackage --app-version $(APP_VERSION) --license-file LICENSE --icon AudioBookConverter.icns \
--type dmg \
--input target/package/audiobookconverter-$(APP_VERSION)-mac-installer/audiobookconverter-$(APP_VERSION)/app \
--main-jar lib/audiobookconverter-$(APP_VERSION).jar --runtime-image target/fx-jre --java-options '--enable-preview'
mkdir target/release
mv -f *.dmg target/release

0 comments on commit 46bfc52

Please sign in to comment.