diff --git a/Makefile b/Makefile index 4a2150c..c99c00c 100644 --- a/Makefile +++ b/Makefile @@ -43,7 +43,7 @@ windows_release: strip -s -R .comment -R .gnu.version "$(releaseFolder)/$(executable).exe" --strip-unneeded # Create ZIP - powershell if (Test-Path $(executable)_win_$(version).zip) {Remove-Item $(windowsRelease)} + powershell if (Test-Path $(windowsRelease)) {Remove-Item $(windowsRelease)} powershell Compress-Archive -Path "$(releaseFolder)"/* -DestinationPath $(windowsRelease) # Remove folder