diff --git a/mise.toml b/mise.toml index e44555be4..9b353a0a6 100644 --- a/mise.toml +++ b/mise.toml @@ -84,7 +84,7 @@ run = [ description = "Build complete application (matches Makefile)" depends = ["install-and-build"] run = [ - "yarn copy:lib", + "yarn download:bin", "yarn build" ] diff --git a/scripts/download-bin.mjs b/scripts/download-bin.mjs index 44693ab79..a1884d940 100644 --- a/scripts/download-bin.mjs +++ b/scripts/download-bin.mjs @@ -136,6 +136,11 @@ async function main() { console.log("Error Found:", err); } }) + copyFile(path.join(binDir, 'bun'), path.join(binDir, 'bun-universal-apple-darwin'), (err) => { + if (err) { + console.log("Error Found:", err); + } + }) } else if (platform === 'linux') { copyFile(path.join(binDir, 'bun'), path.join(binDir, 'bun-x86_64-unknown-linux-gnu'), (err) => { if (err) { @@ -191,6 +196,11 @@ async function main() { console.log("Error Found:", err); } }) + copyFile(path.join(binDir, 'uv'), path.join(binDir, 'uv-universal-apple-darwin'), (err) => { + if (err) { + console.log("Error Found:", err); + } + }) } else if (platform === 'linux') { copyFile(path.join(binDir, 'uv'), path.join(binDir, 'uv-x86_64-unknown-linux-gnu'), (err) => { if (err) {