mirror of
https://github.com/rust-lang/rust-analyzer
synced 2025-01-13 13:48:50 +00:00
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".
This commit is contained in:
parent
9df1663c12
commit
e34c5d0f06
1 changed files with 1 additions and 1 deletions
|
@ -91,7 +91,7 @@ fn install_client(ClientOpt::VsCode: ClientOpt) -> Result<()> {
|
||||||
}
|
}
|
||||||
.run()?;
|
.run()?;
|
||||||
|
|
||||||
let code_binary = ["code", "code-insiders", "codium"].iter().find(|bin| {
|
let code_binary = ["code", "code-insiders", "codium", "code-oss"].iter().find(|bin| {
|
||||||
Cmd {
|
Cmd {
|
||||||
unix: &format!("{} --version", bin),
|
unix: &format!("{} --version", bin),
|
||||||
windows: &format!("cmd.exe /c {}.cmd --version", bin),
|
windows: &format!("cmd.exe /c {}.cmd --version", bin),
|
||||||
|
|
Loading…
Reference in a new issue