From 7f47018cbf3f50c792720b36d87782ab42dfbfeb Mon Sep 17 00:00:00 2001 From: eyedeekay Date: Wed, 20 Mar 2024 15:04:44 -0400 Subject: [PATCH] Assure exe is downloaded before generating release torrent --- buildscripts/release-torrent.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/buildscripts/release-torrent.sh b/buildscripts/release-torrent.sh index 6d09033..88de55f 100755 --- a/buildscripts/release-torrent.sh +++ b/buildscripts/release-torrent.sh @@ -27,6 +27,10 @@ if [ -f ./i2pversion_override ]; then . ./i2pversion_override fi +if [ ! -f "I2P-Easy-Install-Bundle-$I2P_VERSION.exe" ]; then + wget -c "https://github.com/eyedeekay/i2p.firefox/releases/download/i2p-firefox-$I2P_VERSION/I2P-Easy-Install-Bundle-$I2P_VERSION.exe" +fi + cp -v "I2P-Easy-Install-Bundle-$I2P_VERSION.exe" "I2P-Easy-Install-Bundle-$I2P_VERSION-signed.exe" java -cp "$I2P_LIBS/*" net.i2p.crypto.SU3File sign -c ROUTER -f EXE I2P-Easy-Install-Bundle-$I2P_VERSION-signed.exe I2P-Easy-Install-Bundle-$I2P_VERSION-signed.su3 "$HOME/.i2p-plugin-keys/news-su3-keystore.ks" $I2P_VERSION $SIGNER rm -f i2pwinupdate.su3.torrent