mirror of
https://github.com/rust-lang/rust-analyzer
synced 2025-01-13 13:48:50 +00:00
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 <lle-bout@zaclys.net>
This commit is contained in:
commit
2a8dd492a8
1 changed files with 1 additions and 1 deletions
|
@ -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),
|
||||
|
|
Loading…
Reference in a new issue