We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fcc13c1 commit 3f915b6Copy full SHA for 3f915b6
scripts/Install-VSCode.ps1
@@ -460,7 +460,7 @@ if (($IsLinux -or $IsMacOS) -and (id -u) -ne 0) {
460
}
461
462
# User builds can only be installed on Windows systems
463
-if ($BuildEdition.EndsWith('User') -and -not ($IsWindows -or $PSVersionTable.PSVersion.Major -lt 5)) {
+if ($BuildEdition.EndsWith('User') -and -not ($IsWindows -or $PSVersionTable.PSVersion.Major -lt 6)) {
464
throw 'User builds are not available for non-Windows systems'
465
466
0 commit comments