use apple-silicon binary

This commit is contained in:
Nate Sesti 2023-08-23 14:52:23 -07:00
parent 0c563fc28f
commit 6ad783f441
2 changed files with 3 additions and 7 deletions

View file

@ -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

View file

@ -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(