From e34c5d0f068ed741c3d65d8ea443c29ea9291188 Mon Sep 17 00:00:00 2001 From: leo-lb Date: Tue, 7 Jan 2020 16:42:45 +0100 Subject: Add "code-oss" Visual Studio Code binary name When Visual Studio Code is manually compiled from the upstream source tree the binary is named "code-oss". --- xtask/src/install.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xtask/src') diff --git a/xtask/src/install.rs b/xtask/src/install.rs index c5bb7351a..fa82633de 100644 --- a/xtask/src/install.rs +++ b/xtask/src/install.rs @@ -91,7 +91,7 @@ fn install_client(ClientOpt::VsCode: ClientOpt) -> Result<()> { } .run()?; - let code_binary = ["code", "code-insiders", "codium"].iter().find(|bin| { + let code_binary = ["code", "code-insiders", "codium", "code-oss"].iter().find(|bin| { Cmd { unix: &format!("{} --version", bin), windows: &format!("cmd.exe /c {}.cmd --version", bin), -- cgit v1.2.3