diff --git a/assets/Powershell_black_64.png b/assets/Powershell_black_64.png new file mode 100644 index 0000000..53bbbee Binary files /dev/null and b/assets/Powershell_black_64.png differ diff --git a/build.psm1 b/build.psm1 index 6e1f5dd..cc98393 100644 --- a/build.psm1 +++ b/build.psm1 @@ -579,22 +579,25 @@ function Start-BuildPowerShellNativePackage {0} Microsoft Microsoft,PowerShell - true + false Native binaries for PowerShell Core - https://github.com/PowerShell/PowerShell - https://github.com/PowerShell/PowerShell/blob/master/assets/Powershell_black_64.png?raw=true - MIT - PowerShell - en-US - © Microsoft Corporation. - - - - + https://github.com/PowerShell/PowerShell-Native + {1} + MIT + PowerShell + en-US + © Microsoft Corporation. All rights reserved. + + + + '@ - $Nuspec -f $Version | Out-File -FilePath (Join-Path $PackageRoot -ChildPath 'Microsoft.PowerShell.Native.nuspec') -Force + $iconFileName = "Powershell_black_64.png" + $iconPath = Join-Path $pwd -ChildPath "assets\$iconFileName" -Resolve + + $Nuspec -f $Version, $iconPath | Out-File -FilePath (Join-Path $PackageRoot -ChildPath 'Microsoft.PowerShell.Native.nuspec') -Force if(-not (Test-Path $NuGetOutputPath)) {