summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/main.yaml6
-rw-r--r--extension/src/activation/environmentSetup.ts4
2 files changed, 3 insertions, 7 deletions
diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml
index bbb85f9a..678eb8ae 100644
--- a/.github/workflows/main.yaml
+++ b/.github/workflows/main.yaml
@@ -160,12 +160,6 @@ jobs:
path: /home/runner/.continue/continue.log
if: always()
- - name: Try to run linux binary
- run: |
- cd extension/server/exe
- ./run
- if: always() && matrix.os == 'ubuntu-20.04'
-
publish:
needs: test-and-package
runs-on: ubuntu-20.04
diff --git a/extension/src/activation/environmentSetup.ts b/extension/src/activation/environmentSetup.ts
index 53ca8dc6..9de306b4 100644
--- a/extension/src/activation/environmentSetup.ts
+++ b/extension/src/activation/environmentSetup.ts
@@ -166,7 +166,9 @@ export async function startContinuePythonServer(redownload: boolean = true) {
os.platform() === "win32"
? "windows/run.exe"
: os.platform() === "darwin"
- ? "mac/run"
+ ? os.arch() === "arm64"
+ ? "apple-silicon/run"
+ : "mac/run"
: "linux/run";
const destination = path.join(