aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2020-01-07 16:18:07 +0000
committerGitHub <[email protected]>2020-01-07 16:18:07 +0000
commit2a8dd492a8e0f575d6d696a7297cdd29a13427db (patch)
tree47294a1ea3ba0f4ca878f3b4033f334369dd9485
parentb8ca479a2e224ce415f086eb4841259c0e48f7c3 (diff)
parente34c5d0f068ed741c3d65d8ea443c29ea9291188 (diff)
Merge #2758
2758: Add "code-oss" Visual Studio Code binary name r=matklad a=leo-lb When Visual Studio Code is manually compiled from the upstream source tree the binary is named "code-oss". Co-authored-by: leo-lb <[email protected]>
-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),