pass license file

This commit is contained in:
Zlatin Balevsky
2021-03-20 01:44:04 +00:00
parent ab0fd76afb
commit 2f11311a27
2 changed files with 1 additions and 1 deletions

View File

@ -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`.

View File

@ -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