mirror of
https://github.com/Myzel394/config-lsp.git
synced 2025-06-18 15:05:28 +02:00
fix(extension): Fix executable path for Windows
This commit is contained in:
parent
e1ec57f576
commit
757f24a521
@ -54,9 +54,11 @@ export async function activate({subscriptions}: ExtensionContext) {
|
||||
}
|
||||
|
||||
function getBundledPath(): string {
|
||||
const filePath = path.resolve(__dirname, "config-lsp");
|
||||
if (process.platform === "win32") {
|
||||
return path.resolve(__dirname, "config-lsp.exe");
|
||||
}
|
||||
|
||||
return filePath;
|
||||
return path.resolve(__dirname, "config-lsp");
|
||||
}
|
||||
|
||||
export function deactivate(): Thenable<void> | undefined {
|
||||
|
Loading…
x
Reference in New Issue
Block a user