Skip to content

Commit

Permalink
Fix spurious 'Effekt is not installed' message when refusing to update
Browse files Browse the repository at this point in the history
  • Loading branch information
jiribenes committed Sep 17, 2024
1 parent 25fac57 commit 8a32b5d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/effektManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@ export class EffektManager {
return this.installOrUpdateEffekt(version, action);
}
this.updateStatusBar();
return '';
return this.effektVersion || '';
}

/**
Expand Down Expand Up @@ -376,6 +376,8 @@ export class EffektManager {

return true;
} catch (error) {
this.logMessage("ERROR", `When checking Java version got: ${error}`)

this.showErrorWithLogs(
"Java (JRE) is required to run Effekt. " +
"Please install Java, then restart VSCode."
Expand Down

0 comments on commit 8a32b5d

Please sign in to comment.