From 9b10707f1455decb421dc9b6e55095a0a99fc347 Mon Sep 17 00:00:00 2001 From: eyedeekay Date: Tue, 20 Feb 2024 17:11:06 -0500 Subject: [PATCH] use powershell-zip if zip isn't around --- buildscripts/zip.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/buildscripts/zip.sh b/buildscripts/zip.sh index 29d12a0..4f066cc 100755 --- a/buildscripts/zip.sh +++ b/buildscripts/zip.sh @@ -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 \ No newline at end of file + +which zip && zip -r I2P-windows-portable.zip I2P-portable +which zip || powershell Compress-Archive -force I2P-portable I2P-windows-portable.zip \ No newline at end of file