Files
i2p.plugins.firefox/windows-portable.sh
idk fa9c948688 Windows EXE installer, Windows portable zip
Former-commit-id: a3b9f1abce
Former-commit-id: e61d370a1fbb1fb3ed3349bd50558d1fee453373
2022-09-06 18:29:43 -04:00

18 lines
503 B
Bash
Executable File

#! /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