From 2f11311a27fbed929127c4ee7631578d78014fa5 Mon Sep 17 00:00:00 2001 From: Zlatin Balevsky Date: Sat, 20 Mar 2021 01:44:04 +0000 Subject: [PATCH] pass license file --- TODO.md | 1 - build.sh | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/TODO.md b/TODO.md index b45aacc..88a856a 100644 --- a/TODO.md +++ b/TODO.md @@ -6,6 +6,5 @@ Items left to do before this can be used for production installers: * Pass additional OS-specific switches to jpackage (i.e. `--mac-sign`) * Should blocklist.txt be overwritten on router upgrades? * Decide on jvm switches (i.e. -Xmx) and pass them through jpackage -* Pass license file to jpackage (maybe only windows needs this?) To get some of these done OS detection may need to happen inside `build.sh`. diff --git a/build.sh b/build.sh index a6b3bdc..753c6ac 100755 --- a/build.sh +++ b/build.sh @@ -72,5 +72,6 @@ if [ "$(expr substr $(uname -s) 1 5)" == "Linux" ]; then $JAVA_HOME/bin/jpackage --type app-image --name I2P --input build --main-jar launcher.jar --main-class net.i2p.router.PackageLauncher else $JAVA_HOME/bin/jpackage --name I2P --app-version $VERSION \ + --license-file $I2P_PKG/LICENSE.txt \ --input build --main-jar launcher.jar --main-class net.i2p.router.PackageLauncher fi