Skip to content

Commit 64de64b

Browse files
Add icon file to root of nuget package (#60)
1 parent b28de4c commit 64de64b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

build.psm1

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -597,7 +597,9 @@ function Start-BuildPowerShellNativePackage
597597
$iconFileName = "Powershell_black_64.png"
598598
$iconPath = Join-Path $PSScriptRoot -ChildPath "assets\$iconFileName" -Resolve
599599

600-
$Nuspec -f $Version, $iconPath | Out-File -FilePath (Join-Path $PackageRoot -ChildPath 'Microsoft.PowerShell.Native.nuspec') -Force
600+
Copy-Item $iconPath (Join-Path $PackageRoot -ChildPath $iconFileName) -Verbose
601+
602+
$Nuspec -f $Version, $iconFileName | Out-File -FilePath (Join-Path $PackageRoot -ChildPath 'Microsoft.PowerShell.Native.nuspec') -Force
601603

602604
if(-not (Test-Path $NuGetOutputPath))
603605
{

0 commit comments

Comments
 (0)