use powershell-zip if zip isn't around

This commit is contained in:
eyedeekay
2024-02-20 17:11:06 -05:00
parent 79f3337056
commit 9b10707f14

View File

@@ -28,5 +28,6 @@ rm -vrf "tor-browser_${locale}"
cd "$SCRIPT_DIR" || exit 1
rm -rf I2P-portable && cp -r I2P I2P-portable
#powershell Compress-Archive -force I2P-portable I2P-windows-portable.zip
zip -r I2P-windows-portable.zip I2P-portable
which zip && zip -r I2P-windows-portable.zip I2P-portable
which zip || powershell Compress-Archive -force I2P-portable I2P-windows-portable.zip