mirror of
https://github.com/Microsoft/vscode
synced 2024-10-12 06:17:18 +00:00
parent
a1946bd534
commit
ddb025c979
|
@ -300,6 +300,8 @@ impl Platform {
|
|||
Some(Platform::WindowsX64)
|
||||
} else if cfg!(all(target_os = "windows", target_arch = "x86")) {
|
||||
Some(Platform::WindowsX86)
|
||||
} else if cfg!(all(target_os = "windows", target_arch = "aarch64")) {
|
||||
Some(Platform::WindowsARM64)
|
||||
} else {
|
||||
None
|
||||
}
|
||||
|
|
|
@ -39,7 +39,7 @@ impl PreReqChecker {
|
|||
#[cfg(not(target_os = "linux"))]
|
||||
pub async fn verify(&self) -> Result<Platform, AnyError> {
|
||||
Platform::env_default().ok_or_else(|| {
|
||||
SetupError("VS Code it not supported on this platform".to_owned()).into()
|
||||
SetupError("VS Code is not supported on this platform".to_owned()).into()
|
||||
})
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue