switch to git archive for tarball, include ico and png in app-content to make NSIS builds work

This commit is contained in:
idk
2023-01-03 19:26:04 +00:00
parent e19ce19368
commit 79f016cb1c
2 changed files with 3 additions and 1 deletions

View File

@ -66,6 +66,7 @@ if [ ! -d "I2P" ]; then
--app-content src/unix/torbrowser.sh \
--app-content src/win/torbrowser-windows.sh \
--app-content src/icons/windowsUIToopie2.png \
--app-content src/icons/ui2pbrowser_icon.ico \
--icon "${ICON}" \
--input build --main-jar launcher.jar --main-class net.i2p.router.WinLauncher
fi

View File

@ -41,7 +41,8 @@ sleep 5s
HERE="$PWD"
if [ ! -d "$HERE/../i2p.i2p.jpackage-build/" ]; then
git clone --depth=1 -b "$VERSION" https://i2pgit.org/i2p-hackers/i2p.i2p "$HERE/../i2p.i2p.jpackage-build/"
tar --exclude="$HERE/../i2p.i2p.jpackage-build/.git" -cvzf i2p.i2p.jpackage-build.tar.gz "$HERE/../i2p.i2p.jpackage-build/"
git archive --format=tar.gz --output=i2p.i2p.jpackage-build.tar.gz "$VERSION"
#tar --exclude="$HERE/../i2p.i2p.jpackage-build/.git" -cvzf i2p.i2p.jpackage-build.tar.gz "$HERE/../i2p.i2p.jpackage-build/"
fi
cd "$HERE/../i2p.i2p.jpackage-build/"
git pull --all