From ba3e8d246d0437537b42608b91ed1f002ce83a49 Mon Sep 17 00:00:00 2001 From: idk Date: Tue, 13 Apr 2021 18:04:01 -0400 Subject: [PATCH] Remove unpacked NSIS-installable directory before copying artifact directory --- bin/i2p-zero.nsi | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/bin/i2p-zero.nsi b/bin/i2p-zero.nsi index f9c4f8a..890a36d 100644 --- a/bin/i2p-zero.nsi +++ b/bin/i2p-zero.nsi @@ -19,6 +19,7 @@ function buildZero !system "chmod +x build-docker.sh" !system ./build-docker.sh !system "unzip dist-zip/i2p-zero-win-gui.*.zip" + !system "rm -rf I2P-Zero" !system "mv i2p-zero-win-gui.* I2P-Zero" functionEnd @@ -34,9 +35,6 @@ function installZero CreateShortcut "$SMPROGRAMS\Run I2P-Zero.lnk" "$ZEROINSTDIR\router\i2p-zero.exe" ${EndIf} - - - functionEnd function uninstallZero