Skip to content

Open-source download manager & offline media toolbox for YouTube, music, social media, learning platforms & 1,800+ sites. Built with Tauri 2.0, Rust & Svelte.

fix(dependencies): expose bin_name function to allow external access

Tonho1e50595a8fbf
diff --git a/src-tauri/src/core/dependencies.rs b/src-tauri/src/core/dependencies.rs
index a1b93e68..c2c1da5e 100644
--- a/src-tauri/src/core/dependencies.rs
+++ b/src-tauri/src/core/dependencies.rs
@@ -12,7 +12,7 @@ fn managed_bin_dir() -> Option<PathBuf> {
Some(crate::core::paths::app_data_dir()?.join("bin"))
}
-fn bin_name(tool: &str) -> String {
+pub fn bin_name(tool: &str) -> String {
if cfg!(target_os = "windows") {
format!("{}.exe", tool)
} else {