Skip to content

Commit

Permalink
Remove compression option, as it was actually making files larger
Browse files Browse the repository at this point in the history
Also, remove license option, as macOS 11 removed the hdiutil command
that Java's packager was using to add the license file to the image.
  • Loading branch information
richardwilkes committed Nov 21, 2020
1 parent 9c42fbc commit f293ff5
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions bundler/bundler/Bundler.java
Original file line number Diff line number Diff line change
Expand Up @@ -592,10 +592,6 @@ private static void packageApp(boolean noInstaller, boolean sign) {
args.add(MODULE_DIR.toString());
args.add("--output");
args.add(JRE.toString());
if (!OS.equals(WINDOWS)) {
// Don't know why, but as of JDK 15, this flag cause *some* Windows machines to be unable to launch GCS
args.add("--compress=2");
}
args.add("--no-header-files");
args.add("--no-man-pages");
args.add("--strip-debug");
Expand All @@ -615,10 +611,6 @@ private static void packageApp(boolean noInstaller, boolean sign) {
args.add("Richard A. Wilkes");
args.add("--description");
args.add("GCS (GURPS Character Sheet) is a stand-alone, interactive, character sheet editor that allows you to build characters for the GURPS 4th Edition roleplaying game system.");
if (!noInstaller) {
args.add("--license-file");
args.add("LICENSE");
}
args.add("--icon");
args.add(Paths.get("artifacts", ICON_TYPE, "app." + ICON_TYPE).toString());
if (OS.equals(MACOS) || !noInstaller) {
Expand Down

0 comments on commit f293ff5

Please sign in to comment.