Skip to content

Commit

Permalink
build: Replaced deprecated --compress 2 option with new JLink 21 comp…
Browse files Browse the repository at this point in the history
…liant --compress zip-6 (#743)
  • Loading branch information
Oliver-Loeffler authored Oct 2, 2024
1 parent f0c5860 commit 3715983
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/scripts/jpackage.bat
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ REM set MODULES=java.desktop,java.logging,java.naming,java.prefs,java.security.j
--module-path %JAVAFX_HOME% ^
--add-modules %JDEPS_MODULES%,%JAVAFX_MODULES% ^
--output app/target/runtime ^
--strip-debug --compress 2 --no-header-files --no-man-pages
--strip-debug --compress zip-6 --no-header-files --no-man-pages

%JPACKAGE_HOME%\bin\jpackage ^
--app-version %APP_VERSION% ^
Expand All @@ -30,4 +30,4 @@ REM set MODULES=java.desktop,java.logging,java.naming,java.prefs,java.security.j
--win-menu ^
--win-menu-group "Scene Builder" ^
--win-per-user-install ^
--win-shortcut
--win-shortcut
4 changes: 2 additions & 2 deletions .github/scripts/jpackage.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ $JAVA_HOME/bin/jlink \
--module-path $JAVAFX_HOME \
--add-modules $jdeps_modules,$JAVAFX_MODULES \
--output app/target/runtime \
--strip-debug --compress 2 --no-header-files --no-man-pages
--strip-debug --compress zip-6 --no-header-files --no-man-pages

$JPACKAGE_HOME/bin/jpackage \
--app-version $APP_VERSION \
Expand All @@ -19,4 +19,4 @@ $JPACKAGE_HOME/bin/jpackage \
--verbose \
--runtime-image app/target/runtime \
--dest $INSTALL_DIR \
"$@"
"$@"

0 comments on commit 3715983

Please sign in to comment.