Skip to content

Commit

Permalink
feat: support VSCodium
Browse files Browse the repository at this point in the history
  • Loading branch information
SteveLauC committed Jan 3, 2025
1 parent 767f0d9 commit 424c83c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,7 @@ pub enum Step {
Vagrant,
Vcpkg,
Vim,
#[serde(alias="vscodium")]
Vscode,
Waydroid,
Winget,
Expand Down
2 changes: 1 addition & 1 deletion src/steps/generic.rs
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,7 @@ pub fn run_vscode_extensions_update(ctx: &ExecutionContext) -> Result<()> {
return Err(SkipStep(String::from("Should not run in WSL")).into());
}

let vscode = require("code")?;
let vscode = require("code").or_else(|_| require("codium"))?;

// Vscode has update command only since 1.86 version ("january 2024" update), disable the update for prior versions
// Use command `code --version` which returns 3 lines: version, git commit, instruction set. We parse only the first one
Expand Down

0 comments on commit 424c83c

Please sign in to comment.