Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added assets/Powershell-preview.icns
Binary file not shown.
9 changes: 8 additions & 1 deletion tools/packaging/packaging.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -1185,7 +1185,14 @@ function New-MacOSLauncher
New-Item -Force -ItemType Directory -Path "$macosapp/Contents/Resources" | Out-Null

# Define icns file information.
$iconfile = "$PSScriptRoot/../../assets/Powershell.icns"
if ($IsPreview)
{
$iconfile = "$PSScriptRoot/../../assets/Powershell-preview.icns"
}
else
{
$iconfile = "$PSScriptRoot/../../assets/Powershell.icns"
}
$iconfilebase = (Get-Item -Path $iconfile).BaseName

# Copy icns file.
Expand Down