Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added media/PowerShell_Icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added media/PowerShell_Preview_Icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed media/PowerShell_icon.png
Binary file not shown.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"Snippets",
"Linters"
],
"icon": "media/PowerShell_icon.png",
"icon": "media/PowerShell_Icon.png",
"galleryBanner": {
"color": "#ACD1EC",
"theme": "light"
Expand Down
3 changes: 3 additions & 0 deletions tools/ReleaseTools.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -343,6 +345,7 @@ function Update-Version {
$f = $f -replace '^(?<prefix> "version":\s+")(.+)(?<suffix>",)$', "`${prefix}${v}`${suffix}"
$f = $f -replace '^(?<prefix> "preview":\s+)(.+)(?<suffix>,)$', "`${prefix}${preview}`${suffix}"
$f = $f -replace '^(?<prefix> "description":\s+")(.+)(?<suffix>",)$', "`${prefix}${description}`${suffix}"
$f = $f -replace '^(?<prefix> "icon":\s+")(.+)(?<suffix>",)$', "`${prefix}${icon}`${suffix}"
$f | Set-Content -Path $path
git add $path
}
Expand Down
2 changes: 1 addition & 1 deletion tools/postReleaseScripts/updateAzureDataStudio.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down