diff --git a/windows-exe.sh b/windows-exe.sh deleted file mode 100755 index 628aa45..0000000 --- a/windows-exe.sh +++ /dev/null @@ -1,20 +0,0 @@ -#! /usr/bin/env sh -. ./config.sh -export PATH=$PATH:$(go env GOPATH)/bin -jpackage \ - --verbose \ - --type exe \ - --win-dir-chooser \ - --win-help-url "https://geti2p.net" \ - --win-menu \ - --win-menu-group "I2P Browser Configurer" \ - --win-shortcut \ - --win-shortcut-prompt \ - --win-per-user-install \ - --license-file LICENSE.md \ - --icon src/icon.png \ - --name i2pbrowser \ - --app-version "$GITHUB_TAG" \ - --input src/build \ - --main-jar i2pfirefox.jar \ - --main-class net.i2p.i2pfirefox.I2PBrowser diff --git a/windows-portable.sh b/windows-portable.sh deleted file mode 100755 index fbea20b..0000000 --- a/windows-portable.sh +++ /dev/null @@ -1,20 +0,0 @@ -#! /usr/bin/env sh -. ./config.sh -export PATH=$PATH:$(go env GOPATH)/bin -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 \ - --icon src/icon.png \ - --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 \ No newline at end of file diff --git a/windows-release.sh b/windows-release.sh index d9b7311..0a05b6c 100755 --- a/windows-release.sh +++ b/windows-release.sh @@ -4,9 +4,7 @@ git pull --all . ./config.sh . "${HOME}/github-release-config.sh" ant distclean jar -./windows.sh -./windows-exe.sh -./windows-portable.sh +ant windows-msi-release msisum=$(sha256sum "i2pbrowser-${GITHUB_TAG}.msi") github-release upload --user "${GITHUB_USER}" \ --repo "${GITHUB_REPO}" \ @@ -16,6 +14,7 @@ github-release upload --user "${GITHUB_USER}" \ --file "i2pbrowser-${GITHUB_TAG}.msi" \ --replace echo "Uploaded MSI package" +ant windows-exe-release exesum=$(sha256sum "i2pbrowser-${GITHUB_TAG}.exe") github-release upload --user "${GITHUB_USER}" \ --repo "${GITHUB_REPO}" \ @@ -25,6 +24,7 @@ github-release upload --user "${GITHUB_USER}" \ --file "i2pbrowser-${GITHUB_TAG}.exe" \ --replace echo "Uploaded EXE package" +ant windows-portable-release zipsum=$(sha256sum "i2pbrowser-portable-${GITHUB_TAG}.zip") github-release upload --user "${GITHUB_USER}" \ --repo "${GITHUB_REPO}" \ diff --git a/windows.sh b/windows.sh deleted file mode 100755 index cf9ef97..0000000 --- a/windows.sh +++ /dev/null @@ -1,20 +0,0 @@ -#! /usr/bin/env sh -. ./config.sh -export PATH=$PATH:$(go env GOPATH)/bin -jpackage \ - --verbose \ - --type msi \ - --win-dir-chooser \ - --win-help-url "https://geti2p.net" \ - --win-menu \ - --win-menu-group "I2P Browser Configurer" \ - --win-shortcut \ - --win-shortcut-prompt \ - --win-per-user-install \ - --license-file LICENSE.md \ - --icon src/icon.png \ - --name i2pbrowser \ - --app-version "$GITHUB_TAG" \ - --input src/build \ - --main-jar i2pfirefox.jar \ - --main-class net.i2p.i2pfirefox.I2PBrowser