diff --git a/media/PowerShell_Icon.png b/media/PowerShell_Icon.png new file mode 100644 index 0000000000..c64b93277b Binary files /dev/null and b/media/PowerShell_Icon.png differ diff --git a/media/PowerShell_Preview_Icon.png b/media/PowerShell_Preview_Icon.png new file mode 100644 index 0000000000..96ec617872 Binary files /dev/null and b/media/PowerShell_Preview_Icon.png differ diff --git a/media/PowerShell_icon.png b/media/PowerShell_icon.png deleted file mode 100644 index 76dc30059b..0000000000 Binary files a/media/PowerShell_icon.png and /dev/null differ diff --git a/package.json b/package.json index 133d85e8b6..e7dc42c095 100644 --- a/package.json +++ b/package.json @@ -16,7 +16,7 @@ "Snippets", "Linters" ], - "icon": "media/PowerShell_icon.png", + "icon": "media/PowerShell_Icon.png", "galleryBanner": { "color": "#ACD1EC", "theme": "light" diff --git a/tools/ReleaseTools.psm1 b/tools/ReleaseTools.psm1 index d882d3a2c4..b2ffed0519 100644 --- a/tools/ReleaseTools.psm1 +++ b/tools/ReleaseTools.psm1 @@ -327,11 +327,13 @@ function Update-Version { $displayName = "PowerShell Preview" $preview = "true" $description = "(Preview) $d" + $icon = "media/PowerShell_Preview_Icon.png" } else { $name = "powershell" $displayName = "PowerShell" $preview = "false" $description = $d + $icon = "media/PowerShell_Icon.png" } $path = "package.json" @@ -343,6 +345,7 @@ function Update-Version { $f = $f -replace '^(? "version":\s+")(.+)(?",)$', "`${prefix}${v}`${suffix}" $f = $f -replace '^(? "preview":\s+)(.+)(?,)$', "`${prefix}${preview}`${suffix}" $f = $f -replace '^(? "description":\s+")(.+)(?",)$', "`${prefix}${description}`${suffix}" + $f = $f -replace '^(? "icon":\s+")(.+)(?",)$', "`${prefix}${icon}`${suffix}" $f | Set-Content -Path $path git add $path } diff --git a/tools/postReleaseScripts/updateAzureDataStudio.ps1 b/tools/postReleaseScripts/updateAzureDataStudio.ps1 index fdac19a703..8337c77ac0 100644 --- a/tools/postReleaseScripts/updateAzureDataStudio.ps1 +++ b/tools/postReleaseScripts/updateAzureDataStudio.ps1 @@ -60,7 +60,7 @@ function NewReleaseVersionEntry } [ordered]@{ assetType = 'Microsoft.VisualStudio.Services.Icons.Default' - source = 'https://raw.githubusercontent.com/PowerShell/vscode-powershell/master/media/PowerShell_icon.png' + source = 'https://raw.githubusercontent.com/PowerShell/vscode-powershell/master/media/PowerShell_Icon.png' } [ordered]@{ assetType = 'Microsoft.VisualStudio.Services.Content.Details'