Open-source download manager & offline media toolbox for YouTube, music, social media, learning platforms & 1,800+ sites. Built with Tauri 2.0, Rust & Svelte.
Rust downloadmanagerguihacktoberfesthomebrewlightweightlinuxlinux-distributionlocal-firstmacosmacos-packagemedia-toolboxopen-sourcerustsveltetauritrendingtrending-repositorieswindowswindows-desktopytdlp
feat: add support for downloading yt-dlp binary for aarch64 architecture
Tonhoc424c7b6878a
diff --git a/src-tauri/src/core/ytdlp.rs b/src-tauri/src/core/ytdlp.rsindex 88347f74..52a8dcb5 100644--- a/src-tauri/src/core/ytdlp.rs+++ b/src-tauri/src/core/ytdlp.rs@@ -71,6 +71,8 @@ async fn download_ytdlp_binary() -> anyhow::Result<PathBuf> {"https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp.exe"} else if cfg!(target_os = "macos") {"https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp_macos"+ } else if cfg!(target_arch = "aarch64") {+ "https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp_linux_aarch64"} else {"https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp"};