Skip to content

Commit 9709a75

Browse files
Update extension icon (and use a special preview icon) (#3493)
This aligns us with the icons used for PowerShell 7 and sufficiently differentiates the PowerShell, PowerShell Preview, and Azure PowerShell extensions on the marketplace.
1 parent f066ae8 commit 9709a75

File tree

6 files changed

+5
-2
lines changed

6 files changed

+5
-2
lines changed

media/PowerShell_Icon.png

184 KB
Loading

media/PowerShell_Preview_Icon.png

74.9 KB
Loading

media/PowerShell_icon.png

-9.74 KB
Binary file not shown.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"Snippets",
1717
"Linters"
1818
],
19-
"icon": "media/PowerShell_icon.png",
19+
"icon": "media/PowerShell_Icon.png",
2020
"galleryBanner": {
2121
"color": "#ACD1EC",
2222
"theme": "light"

tools/ReleaseTools.psm1

+3
Original file line numberDiff line numberDiff line change
@@ -327,11 +327,13 @@ function Update-Version {
327327
$displayName = "PowerShell Preview"
328328
$preview = "true"
329329
$description = "(Preview) $d"
330+
$icon = "media/PowerShell_Preview_Icon.png"
330331
} else {
331332
$name = "powershell"
332333
$displayName = "PowerShell"
333334
$preview = "false"
334335
$description = $d
336+
$icon = "media/PowerShell_Icon.png"
335337
}
336338

337339
$path = "package.json"
@@ -343,6 +345,7 @@ function Update-Version {
343345
$f = $f -replace '^(?<prefix> "version":\s+")(.+)(?<suffix>",)$', "`${prefix}${v}`${suffix}"
344346
$f = $f -replace '^(?<prefix> "preview":\s+)(.+)(?<suffix>,)$', "`${prefix}${preview}`${suffix}"
345347
$f = $f -replace '^(?<prefix> "description":\s+")(.+)(?<suffix>",)$', "`${prefix}${description}`${suffix}"
348+
$f = $f -replace '^(?<prefix> "icon":\s+")(.+)(?<suffix>",)$', "`${prefix}${icon}`${suffix}"
346349
$f | Set-Content -Path $path
347350
git add $path
348351
}

tools/postReleaseScripts/updateAzureDataStudio.ps1

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ function NewReleaseVersionEntry
6060
}
6161
[ordered]@{
6262
assetType = 'Microsoft.VisualStudio.Services.Icons.Default'
63-
source = 'https://raw.githubusercontent.com/PowerShell/vscode-powershell/master/media/PowerShell_icon.png'
63+
source = 'https://raw.githubusercontent.com/PowerShell/vscode-powershell/master/media/PowerShell_Icon.png'
6464
}
6565
[ordered]@{
6666
assetType = 'Microsoft.VisualStudio.Services.Content.Details'

0 commit comments

Comments
 (0)