From 772e6282fd245e811573900a5d65c5e8c8b47a97 Mon Sep 17 00:00:00 2001 From: Maxim Kadushkin Date: Fri, 6 Oct 2023 00:34:40 +0300 Subject: [PATCH] Update make_zip.ps1 --- win-linux/package/windows/make_zip.ps1 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/win-linux/package/windows/make_zip.ps1 b/win-linux/package/windows/make_zip.ps1 index 87dc55f01..736523879 100644 --- a/win-linux/package/windows/make_zip.ps1 +++ b/win-linux/package/windows/make_zip.ps1 @@ -66,11 +66,11 @@ if ( $Sign ) { $OutFile = "$Env:COMPANY_NAME-$DesktopDir-$Env:PRODUCT_VERSION.$Env:BUILD_NUMBER-$Suffix.zip" if ( !$ExcludeHelp ) { - Write-Host "7z a -y $OutFile .\$BuildDir\$DesktopDir\*" -ForegroundColor Yellow - & 7z a -y $OutFile .\$BuildDir\$DesktopDir\* -xr!.\vlc-cache-gen.exe + Write-Host "7z a -y $OutFile .\$BuildDir\$DesktopDir\* -xr!vlc-cache-gen.exe" -ForegroundColor Yellow + & 7z a -y $OutFile .\$BuildDir\$DesktopDir\* -xr!"vlc-cache-gen.exe" } else { - Write-Host "7z a -y $OutFile .\$BuildDir\$DesktopDir\* -xr!editors\web-apps\apps\*\main\resources\help" -ForegroundColor Yellow - & 7z a -y $OutFile .\$BuildDir\$DesktopDir\* -xr!editors\web-apps\apps\*\main\resources\help -xr!.\vlc-cache-gen.exe + Write-Host "7z a -y $OutFile .\$BuildDir\$DesktopDir\* -xr!editors\web-apps\apps\*\main\resources\help -xr!vlc-cache-gen.exe" -ForegroundColor Yellow + & 7z a -y $OutFile .\$BuildDir\$DesktopDir\* -xr!editors\web-apps\apps\*\main\resources\help -xr!"vlc-cache-gen.exe" } if ( $LastExitCode -ne 0 ) { throw }