summaryrefslogtreecommitdiff
path: root/extension/src/activation
diff options
context:
space:
mode:
authorNate Sesti <sestinj@gmail.com>2023-08-01 18:53:27 -0700
committerNate Sesti <sestinj@gmail.com>2023-08-01 18:53:27 -0700
commit10e5b827147541d0911ea66a00d7953d33801ea9 (patch)
treed9cb66993a3e114e467adccfdcca6eb9bf88a8d7 /extension/src/activation
parent29096f502dee36c7bd68c0dc2dc26aa3006c38f9 (diff)
downloadsncontinue-10e5b827147541d0911ea66a00d7953d33801ea9.tar.gz
sncontinue-10e5b827147541d0911ea66a00d7953d33801ea9.tar.bz2
sncontinue-10e5b827147541d0911ea66a00d7953d33801ea9.zip
fix exe paths
Diffstat (limited to 'extension/src/activation')
-rw-r--r--extension/src/activation/environmentSetup.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/extension/src/activation/environmentSetup.ts b/extension/src/activation/environmentSetup.ts
index a0d6a653..56d5a628 100644
--- a/extension/src/activation/environmentSetup.ts
+++ b/extension/src/activation/environmentSetup.ts
@@ -452,14 +452,14 @@ export async function startContinuePythonServer() {
const exeDir = path.join(getExtensionUri().fsPath, "server", "exe");
let exePath: string;
if (os.platform() === "win32") {
- exePath = path.join(exeDir, "run-win.exe");
+ exePath = path.join(exeDir, "windows", "run.exe");
} else if (os.platform() === "darwin") {
- exePath = path.join(exeDir, "run-darwin");
+ exePath = path.join(exeDir, "mac", "run");
// Add permissions
await runCommand(`chmod +x ${exePath}`);
await runCommand(`xattr -dr com.apple.quarantine ${exePath}`);
} else {
- exePath = path.join(exeDir, "run-linux");
+ exePath = path.join(exeDir, "linux", "run");
}
// Run the executable