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 f5fdbf9 commit 21d62fb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions win-linux/package/windows/make_zip.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -67,10 +67,10 @@ 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\*
& 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
& 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 21d62fb

Please sign in to comment.