chore: change dependency source to Aliyun mirror

This commit is contained in:
sw3205933776 2025-08-21 17:30:43 +08:00
parent e7a5c5536f
commit 9f40b62ee9
3 changed files with 4 additions and 4 deletions

View file

@ -58,7 +58,7 @@ async function downloadBunBinary(bun_download_url,platform, arch, version = DEFA
try {
console.log(`Downloading bun ${version} for ${platformKey}...`)
console.log(`URL: ${downloadUrl}`)
if (fs.existsSync(tempFilename)) fs.unlinkSync(tempFilename)
// Use the new download function
await downloadWithRedirects(downloadUrl, tempFilename)