diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2020-01-07 16:18:07 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2020-01-07 16:18:07 +0000 |
commit | 2a8dd492a8e0f575d6d696a7297cdd29a13427db (patch) | |
tree | 47294a1ea3ba0f4ca878f3b4033f334369dd9485 /xtask/src/install.rs | |
parent | b8ca479a2e224ce415f086eb4841259c0e48f7c3 (diff) | |
parent | e34c5d0f068ed741c3d65d8ea443c29ea9291188 (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]>
Diffstat (limited to 'xtask/src/install.rs')
-rw-r--r-- | xtask/src/install.rs | 2 |
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), |