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
fix: Windows file reveal with spaces and remove redundant torrent name sanitization
InstaZDLL791639980c30
diff --git a/src-tauri/src/commands/downloads.rs b/src-tauri/src/commands/downloads.rsindex 7668f014..b1523dbd 100644--- a/src-tauri/src/commands/downloads.rs+++ b/src-tauri/src/commands/downloads.rs@@ -421,8 +421,9 @@ pub async fn clear_finished_downloads(pub async fn reveal_file(path: String) -> Result<(), String> {#[cfg(target_os = "windows")]{+ use std::os::windows::process::CommandExt;std::process::Command::new("explorer")- .args(["/select,", &path])+ .raw_arg(format!("/select,\"{}\"", path)).spawn().map_err(|e| e.to_string())?;}diff --git a/src-tauri/src/platforms/magnet/mod.rs b/src-tauri/src/platforms/magnet/mod.rsindex 5022cb78..472304a6 100644--- a/src-tauri/src/platforms/magnet/mod.rs+++ b/src-tauri/src/platforms/magnet/mod.rs@@ -181,7 +181,7 @@ impl PlatformDownloader for MagnetDownloader {let file_path = if torrent_name.is_empty() {output_dir.clone()} else {- output_dir.join(sanitize_filename::sanitize(&torrent_name))+ output_dir.join(&torrent_name)};Ok(DownloadResult {