From 3c8b1b6d28576deb4b0e6ac4018575e819cb779e Mon Sep 17 00:00:00 2001 From: idk Date: Tue, 6 Sep 2022 01:29:30 -0400 Subject: [PATCH] try an experiment where I build an MSI --- msi.sh | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100755 msi.sh diff --git a/msi.sh b/msi.sh new file mode 100755 index 0000000..1be45c7 --- /dev/null +++ b/msi.sh @@ -0,0 +1,30 @@ +#! /usr/bin/env sh + +## EXPERIMENTAL. PROBABLY WON'T SEE THE LIGHT OF DAY BUT MAYBE I GET LUCKY. + +. ./config.sh +. ./i2pversion +jpackage --type app-image --name I2P --app-version "$I2P_VERSION" \ + --verbose \ + --java-options "-Xmx512m" \ + --java-options "--add-opens java.base/java.lang=ALL-UNNAMED" \ + --java-options "--add-opens java.base/sun.nio.fs=ALL-UNNAMED" \ + --java-options "--add-opens java.base/java.nio=ALL-UNNAMED" \ + --java-options "--add-opens java.base/java.util.Properties=ALL-UNNAMED" \ + --java-options "--add-opens java.base/java.util.Properties.defaults=ALL-UNNAMED" \ + $JPACKAGE_OPTS \ + --resource-dir build \ + --input build \ + --verbose \ + --type msi \ + --win-dir-chooser \ + --win-help-url "https://geti2p.net" \ + --win-menu \ + --win-menu-group "I2P Easy-Install Bundle" \ + --win-shortcut \ + --win-shortcut-prompt \ + --win-per-user-install \ + --license-file LICENSE.md \ + --input src/build \ + --main-jar launcher.jar \ + --main-class net.i2p.router.WinLauncher