diff --git a/src/environmentPath.ts b/src/environmentPath.ts index 8203dae5..c60c825a 100644 --- a/src/environmentPath.ts +++ b/src/environmentPath.ts @@ -102,13 +102,15 @@ export class Environment { }); } - const possibleCodePaths = [ - this.isInsiders - ? "/Code - Insiders" - : this.isOss - ? "/Code - OSS" - : "/Code" - ]; + const possibleCodePaths = []; + if (this.isInsiders) { + possibleCodePaths.push("/Code - Insiders"); + } else if (this.isOss) { + possibleCodePaths.push("/Code - OSS"); + possibleCodePaths.push("/VSCodium"); + } else { + possibleCodePaths.push("/Code"); + } for (const possibleCodePath of possibleCodePaths) { try { fs.statSync(this.PATH + possibleCodePath);