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 --- .github/workflows/main.yaml | 6 +++--- extension/src/activation/environmentSetup.ts | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index 872470d0..d9bba4cd 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -57,19 +57,19 @@ jobs: uses: actions/download-artifact@v2 with: name: Linux Build - path: extension/server/exe/run-linux + path: extension/server/exe/linux - name: Download macOS build uses: actions/download-artifact@v2 with: name: macOS Build - path: extension/server/exe/run-darwin + path: extension/server/exe/mac - name: Download Windows build uses: actions/download-artifact@v2 with: name: Windows Build - path: extension/server/exe/run-windows.exe + path: extension/server/exe/windows - name: Use Node.js 19.0.0 uses: actions/setup-node@v3 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