Skip to content

armgit / jan

Public Imported from GitHub
0

Jan is an open source alternative to ChatGPT that runs 100% offline on your computer.

fix(#6902): update Bun download link for darwin-86x -> darwin-64x (#6903)

Volodya Lombrozoc27efef5458c
diff --git a/scripts/download-bin.mjs b/scripts/download-bin.mjs
index b6ef81bb2..a0051c240 100644
--- a/scripts/download-bin.mjs
+++ b/scripts/download-bin.mjs
@@ -132,7 +132,7 @@ function getPlatformArch() {
let bunPlatform, uvPlatform
if (platform === 'darwin') {
- bunPlatform = arch === 'arm64' ? 'darwin-aarch64' : 'darwin-x86'
+ bunPlatform = arch === 'arm64' ? 'darwin-aarch64' : 'darwin-x64'
uvPlatform =
arch === 'arm64' ? 'aarch64-apple-darwin' : 'x86_64-apple-darwin'
} else if (platform === 'linux') {