Windows EXE installer, Windows portable zip

Former-commit-id: a3b9f1abce
Former-commit-id: e61d370a1fbb1fb3ed3349bd50558d1fee453373
This commit is contained in:
idk
2022-09-06 18:29:43 -04:00
parent ac934cd6db
commit fa9c948688
2 changed files with 35 additions and 1 deletions

18
windows-portable.sh Executable file
View File

@ -0,0 +1,18 @@
#! /usr/bin/env sh
. ./config.sh
mkdir -p tmp
cp -v LICENSE.md tmp/LICENSE.md
rm -rf i2pbrowser-portable
jpackage \
--verbose \
--type app-image \
--name i2pbrowser-portable \
--app-version "$GITHUB_TAG" \
--input src/build \
--main-jar i2pfirefox.jar \
--resource-dir tmp \
--main-class net.i2p.i2pfirefox.I2PBrowser
rm -rf tmp
cp -v LICENSE.md i2pbrowser-portable/LICENSE.md
rm i2pbrowser-portable.zip -f
zip -r i2pbrowser-portable-${GITHUB_TAG}.zip i2pbrowser-portable

View File

@ -5,6 +5,8 @@ git pull --all
. "${HOME}/github-release-config.sh"
ant distclean jar
./windows.sh
./windows-exe.sh
./windows-portable.sh
github-release upload --user "${GITHUB_USER}" \
--repo "${GITHUB_REPO}" \
--tag "${GITHUB_TAG}" \
@ -12,4 +14,18 @@ github-release upload --user "${GITHUB_USER}" \
--name "i2pbrowser-${GITHUB_TAG}.msi" \
--file "i2pbrowser-${GITHUB_TAG}.msi" \
--replace
echo "Uploaded Windows MSI package"
github-release upload --user "${GITHUB_USER}" \
--repo "${GITHUB_REPO}" \
--tag "${GITHUB_TAG}" \
--label "I2P Browser launcher as a Jpackage inside of an EXE package." \
--name "i2pbrowser-${GITHUB_TAG}.exe" \
--file "i2pbrowser-${GITHUB_TAG}.exe" \
--replace
github-release upload --user "${GITHUB_USER}" \
--repo "${GITHUB_REPO}" \
--tag "${GITHUB_TAG}" \
--label "I2P Browser launcher as a Jpackage inside of an zip to be run from a directory on Windows." \
--name "i2pbrowser-portable-${GITHUB_TAG}.zip" \
--file "i2pbrowser-portable-${GITHUB_TAG}.zip" \
--replace
echo "Uploaded Windows ZIP package"