diff options
author | Nate Sesti <sestinj@gmail.com> | 2023-08-23 14:52:23 -0700 |
---|---|---|
committer | Nate Sesti <sestinj@gmail.com> | 2023-08-23 14:52:23 -0700 |
commit | 6ad783f441ffc2f822c494608bc6587a0152c04a (patch) | |
tree | cb07081f0510e63a10377230b4c1ea8dc1a28668 | |
parent | 0c563fc28fefa0cd7181fd78c579c3a86faaa4f9 (diff) | |
download | sncontinue-6ad783f441ffc2f822c494608bc6587a0152c04a.tar.gz sncontinue-6ad783f441ffc2f822c494608bc6587a0152c04a.tar.bz2 sncontinue-6ad783f441ffc2f822c494608bc6587a0152c04a.zip |
use apple-silicon binary
-rw-r--r-- | .github/workflows/main.yaml | 6 | ||||
-rw-r--r-- | extension/src/activation/environmentSetup.ts | 4 |
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( |