mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-27 12:04:04 +01:00
cli: allow downloading legacy servers for older glibc versions (#204194)
* cli: allow downloading legacy servers for older glibc versions Refs #206790 * chore: update asset name --------- Co-authored-by: deepak1556 <hop2deep@gmail.com>
This commit is contained in:
@@ -209,8 +209,11 @@ pub enum Platform {
|
||||
LinuxAlpineX64,
|
||||
LinuxAlpineARM64,
|
||||
LinuxX64,
|
||||
LinuxX64Legacy,
|
||||
LinuxARM64,
|
||||
LinuxARM64Legacy,
|
||||
LinuxARM32,
|
||||
LinuxARM32Legacy,
|
||||
DarwinX64,
|
||||
DarwinARM64,
|
||||
WindowsX64,
|
||||
@@ -237,8 +240,11 @@ impl Platform {
|
||||
Platform::LinuxAlpineARM64 => "server-alpine-arm64",
|
||||
Platform::LinuxAlpineX64 => "server-linux-alpine",
|
||||
Platform::LinuxX64 => "server-linux-x64",
|
||||
Platform::LinuxX64Legacy => "server-linux-legacy-x64",
|
||||
Platform::LinuxARM64 => "server-linux-arm64",
|
||||
Platform::LinuxARM64Legacy => "server-linux-legacy-arm64",
|
||||
Platform::LinuxARM32 => "server-linux-armhf",
|
||||
Platform::LinuxARM32Legacy => "server-linux-legacy-armhf",
|
||||
Platform::DarwinX64 => "server-darwin",
|
||||
Platform::DarwinARM64 => "server-darwin-arm64",
|
||||
Platform::WindowsX64 => "server-win32-x64",
|
||||
@@ -253,8 +259,11 @@ impl Platform {
|
||||
Platform::LinuxAlpineARM64 => "cli-alpine-arm64",
|
||||
Platform::LinuxAlpineX64 => "cli-alpine-x64",
|
||||
Platform::LinuxX64 => "cli-linux-x64",
|
||||
Platform::LinuxX64Legacy => "cli-linux-x64",
|
||||
Platform::LinuxARM64 => "cli-linux-arm64",
|
||||
Platform::LinuxARM64Legacy => "cli-linux-arm64",
|
||||
Platform::LinuxARM32 => "cli-linux-armhf",
|
||||
Platform::LinuxARM32Legacy => "cli-linux-armhf",
|
||||
Platform::DarwinX64 => "cli-darwin-x64",
|
||||
Platform::DarwinARM64 => "cli-darwin-arm64",
|
||||
Platform::WindowsARM64 => "cli-win32-arm64",
|
||||
@@ -309,8 +318,11 @@ impl fmt::Display for Platform {
|
||||
Platform::LinuxAlpineARM64 => "LinuxAlpineARM64",
|
||||
Platform::LinuxAlpineX64 => "LinuxAlpineX64",
|
||||
Platform::LinuxX64 => "LinuxX64",
|
||||
Platform::LinuxX64Legacy => "LinuxX64Legacy",
|
||||
Platform::LinuxARM64 => "LinuxARM64",
|
||||
Platform::LinuxARM64Legacy => "LinuxARM64Legacy",
|
||||
Platform::LinuxARM32 => "LinuxARM32",
|
||||
Platform::LinuxARM32Legacy => "LinuxARM32Legacy",
|
||||
Platform::DarwinX64 => "DarwinX64",
|
||||
Platform::DarwinARM64 => "DarwinARM64",
|
||||
Platform::WindowsX64 => "WindowsX64",
|
||||
|
||||
Reference in New Issue
Block a user