From 10e5b827147541d0911ea66a00d7953d33801ea9 Mon Sep 17 00:00:00 2001 From: Nate Sesti Date: Tue, 1 Aug 2023 18:53:27 -0700 Subject: fix exe paths --- extension/src/activation/environmentSetup.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'extension') 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 -- cgit v1.2.3-70-g09d2