@@ -579,22 +579,25 @@ function Start-BuildPowerShellNativePackage
579579 <version>{0}</version>
580580 <authors>Microsoft</authors>
581581 <owners>Microsoft,PowerShell</owners>
582- <requireLicenseAcceptance>true </requireLicenseAcceptance>
582+ <requireLicenseAcceptance>false </requireLicenseAcceptance>
583583 <description>Native binaries for PowerShell Core</description>
584- <projectUrl>https://github.com/PowerShell/PowerShell</projectUrl>
585- <iconUrl>https://github.com/PowerShell/PowerShell/blob/master/assets/Powershell_black_64.png?raw=true</iconUrl >
586- <license type="expression">MIT</license>
587- <tags>PowerShell</tags>
588- <language>en-US</language>
589- <copyright>© Microsoft Corporation.</copyright>
590- <contentFiles>
591- <files include="**/*" buildAction="None" copyToOutput="true" flatten="false" />
592- </contentFiles>
593- </metadata>
584+ <projectUrl>https://github.com/PowerShell/PowerShell-Native </projectUrl>
585+ <icon>{1}</icon >
586+ <license type="expression">MIT</license>
587+ <tags>PowerShell</tags>
588+ <language>en-US</language>
589+ <copyright>© Microsoft Corporation. All rights reserved .</copyright>
590+ <contentFiles>
591+ <files include="**/*" buildAction="None" copyToOutput="true" flatten="false" />
592+ </contentFiles>
593+ </metadata>
594594</package>
595595'@
596596
597- $Nuspec -f $Version | Out-File - FilePath (Join-Path $PackageRoot - ChildPath ' Microsoft.PowerShell.Native.nuspec' ) - Force
597+ $iconFileName = " Powershell_black_64.png"
598+ $iconPath = Join-Path $pwd - ChildPath " assets\$iconFileName " - Resolve
599+
600+ $Nuspec -f $Version , $iconPath | Out-File - FilePath (Join-Path $PackageRoot - ChildPath ' Microsoft.PowerShell.Native.nuspec' ) - Force
598601
599602 if (-not (Test-Path $NuGetOutputPath ))
600603 {
0 commit comments