Skip to content

The only downloader you need. 下载器的集大成者。

fix(yt-dlp): macOS 下 QJS 安装 404

XiaoYouChRd9346d51b0db
diff --git a/features/yt_dlp_pack/config.py b/features/yt_dlp_pack/config.py
index 77c448b0..5c0895f5 100644
--- a/features/yt_dlp_pack/config.py
+++ b/features/yt_dlp_pack/config.py
@@ -329,7 +329,7 @@ def _qjsAssetName() -> str:
arch = "x86" if machine in {"x86", "i386", "i686"} else "x86_64"
return f"qjs-windows-{arch}.exe"
elif sys.platform == "darwin":
- return "qjs-darwin"
+ return f"qjs-darwin-{machine}"
else:
arch = "aarch64" if machine in {"arm64", "aarch64"} else "x86_64"
return f"qjs-linux-{arch}"