mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Fix icon issue with NSIS installer
This commit is contained in:
parent
4f6caca155
commit
90659302bc
1 changed files with 14 additions and 0 deletions
|
@ -128,6 +128,20 @@ if ( $estimated_size -gt 0 ) {
|
|||
exit 1
|
||||
}
|
||||
|
||||
#-------------------------------------------------------------------------------
|
||||
# Copy the icon file to the build_env directory
|
||||
#-------------------------------------------------------------------------------
|
||||
|
||||
Write-Host "Copying icon file to build env: " -NoNewline
|
||||
Copy-Item "$INSTALLER_DIR\salt.ico" "$BUILDENV_DIR" | Out-Null
|
||||
if ( Test-Path -Path "$INSTALLER_DIR\salt.ico" ) {
|
||||
Write-Result "Success" -ForegroundColor Green
|
||||
} else {
|
||||
Write-Result "Failed" -ForegroundColor Red
|
||||
Write-Host "Failed to find salt.ico in build_env directory"
|
||||
exit 1
|
||||
}
|
||||
|
||||
#-------------------------------------------------------------------------------
|
||||
# Build the Installer
|
||||
#-------------------------------------------------------------------------------
|
||||
|
|
Loading…
Add table
Reference in a new issue