Skip to content

Commit

Permalink
build both install and archive
Browse files Browse the repository at this point in the history
  • Loading branch information
sorayuki committed Nov 5, 2023
1 parent 5402858 commit 4abcab5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/scripts/Package-Windows.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ function Package {

Remove-Item @RemoveArgs

if ( ( $BuildInstaller ) ) {
#if ( ( $BuildInstaller ) ) {
$NsiFile = "${ProjectRoot}/installer.nsi"
Log-Information 'Creating NSIS installer...'

Expand All @@ -73,7 +73,7 @@ function Package {
Invoke-External "makensis.exe" ${NsiFile}
Copy-Item -Path "${ProjectRoot}/obs-multi-rtmp-setup.exe" -Destination "${OutputName}-Installer.exe"
Pop-Location -Stack BuildTemp
} else {
#} else {
Log-Group "Archiving ${ProductName}..."
$CompressArgs = @{
Path = (Get-ChildItem -Path "${ProjectRoot}/release/${Configuration}" -Exclude "${OutputName}*.*")
Expand All @@ -83,7 +83,7 @@ function Package {
}

Compress-Archive -Force @CompressArgs
}
#}
Log-Group
}

Expand Down

0 comments on commit 4abcab5

Please sign in to comment.