diff --git a/build/icon.icns b/build/icon.icns index 13b1f2d4..20e5bc4f 100644 Binary files a/build/icon.icns and b/build/icon.icns differ diff --git a/postinstall.cjs b/postinstall.cjs index 0fb5c690..31899dca 100644 --- a/postinstall.cjs +++ b/postinstall.cjs @@ -49,6 +49,11 @@ const downloadAria2WindowsAndLinux = async () => { }; const copyAria2Macos = async () => { + if (fs.existsSync("aria2")) { + console.log("Aria2 already exists, skipping..."); + return; + } + console.log("Checking if aria2 is installed..."); const isAria2Installed = spawnSync("which", ["aria2c"]).status;