Support open source version of vscode as well

This commit is contained in:
Jens Hausdorf 2019-09-21 10:24:41 +02:00 committed by GitHub
parent 0ebba70ea2
commit c70e30e409
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -167,7 +167,7 @@ fn install_client(ClientOpt::VsCode: ClientOpt) -> Result<()> {
} }
.run()?; .run()?;
let code_binary = ["code", "code-insiders"].iter().find(|bin| { let code_binary = ["code", "code-insiders", "codium"].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),