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(rebrand): update comments in lib.rs and plugin_loader.rs
IGECT3992ba75f187
diff --git a/src-tauri/src/lib.rs b/src-tauri/src/lib.rsindex 82537e4d..213789a3 100644--- a/src-tauri/src/lib.rs+++ b/src-tauri/src/lib.rs@@ -643,7 +643,7 @@ pub fn run() {});}// Make sure the OS routes `libreget://` to this binary even when the- // package didn't ship a desktop file with `MimeType=x-scheme-handler/omniget;`+ // package didn't ship a desktop file with `MimeType=x-scheme-handler/libreget;`// or when the user is running from an AppImage / unpacked build.// No-op on macOS (which uses Info.plist registered by the bundler).#[cfg(any(target_os = "linux", target_os = "windows"))]diff --git a/src-tauri/src/plugin_loader.rs b/src-tauri/src/plugin_loader.rsindex 787ecf8b..af558945 100644--- a/src-tauri/src/plugin_loader.rs+++ b/src-tauri/src/plugin_loader.rs@@ -384,7 +384,7 @@ fn load_single_plugin(// ABI_VERSION alone cannot detect a plugin compiled by a different rustc.// Rust has no stable ABI — trait-object vtables, fat-pointer conventions// and std/serde type layouts can change between compiler releases — and- // every non-C-ABI type crossing this boundary (Box<dyn OmnigetPlugin>,+ // every non-C-ABI type crossing this boundary (Box<dyn LibregetPlugin>,// Arc<dyn PluginHost>, String, serde_json::Value, boxed futures) is UB on// a mismatch. This is exactly what crashed v0.7.1 (host: rustc 1.97.0)// with registry plugins built by rustc 1.95/1.96: they passed the ABI v2