Skip to content

Commit

Permalink
Update make_zip.ps1
Browse files Browse the repository at this point in the history
  • Loading branch information
maxkadushkin authored Oct 5, 2023
1 parent 21d62fb commit 772e628
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions win-linux/package/windows/make_zip.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -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 }

Expand Down

0 comments on commit 772e628

Please sign in to comment.