aboutsummaryrefslogtreecommitdiff
path: root/xtask/src
diff options
context:
space:
mode:
authorleo-lb <[email protected]>2020-01-07 15:42:45 +0000
committerGitHub <[email protected]>2020-01-07 15:42:45 +0000
commite34c5d0f068ed741c3d65d8ea443c29ea9291188 (patch)
tree5d5cc98978db7acdfce90b252e941b317167752b /xtask/src
parent9df1663c12f48df7f4921e68c928016877390565 (diff)
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".
Diffstat (limited to 'xtask/src')
-rw-r--r--xtask/src/install.rs2
1 files changed, 1 insertions, 1 deletions
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<()> {
91 } 91 }
92 .run()?; 92 .run()?;
93 93
94 let code_binary = ["code", "code-insiders", "codium"].iter().find(|bin| { 94 let code_binary = ["code", "code-insiders", "codium", "code-oss"].iter().find(|bin| {
95 Cmd { 95 Cmd {
96 unix: &format!("{} --version", bin), 96 unix: &format!("{} --version", bin),
97 windows: &format!("cmd.exe /c {}.cmd --version", bin), 97 windows: &format!("cmd.exe /c {}.cmd --version", bin),