You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -228,7 +228,7 @@ function Get-CodePlatformInformation {
228
228
}
229
229
230
230
switch ($BuildEdition) {
231
-
'Stable' {
231
+
'Stable-System' {
232
232
$appName="Visual Studio Code ($Bitness)"
233
233
break
234
234
}
@@ -325,7 +325,7 @@ function Get-CodePlatformInformation {
325
325
}
326
326
327
327
switch ($BuildEdition) {
328
-
'Stable' {
328
+
'Stable-System' {
329
329
$exePath="$installBase\Microsoft VS Code\bin\code.cmd"
330
330
}
331
331
'Stable-User' {
@@ -344,7 +344,7 @@ function Get-CodePlatformInformation {
344
344
}
345
345
346
346
switch ($BuildEdition) {
347
-
'Stable' {
347
+
'Stable-System' {
348
348
$channel='stable'
349
349
break
350
350
}
@@ -455,7 +455,7 @@ function Install-VSCodeFromTar {
455
455
456
456
# We need to be running as elevated on *nix
457
457
if (($IsLinux-or$IsMacOS) -and (id -u) -ne0) {
458
-
throw"Must be running as root to install VSCode.`nInvoke this script with (for example):`n`tsudo pwsh -f Install-VSCode.ps1 -BuildEdition Stable"
458
+
throw"Must be running as root to install VSCode.`nInvoke this script with (for example):`n`tsudo pwsh -f Install-VSCode.ps1 -BuildEdition Stable-System"
0 commit comments