diff --git a/apps/desktop/src-tauri/src/lib.rs b/apps/desktop/src-tauri/src/lib.rs index 41e2d27..3e2a9b8 100644 --- a/apps/desktop/src-tauri/src/lib.rs +++ b/apps/desktop/src-tauri/src/lib.rs @@ -178,8 +178,12 @@ pub fn run() { show_main(app); } }); + // Linux: registering runs update-desktop-database and xdg-mime, which a minimal system may not have; a + // missing tool must not stop the app (it then only misses storebound:// links) #[cfg(any(target_os = "linux", all(debug_assertions, windows)))] - app.deep_link().register_all()?; + if let Err(e) = app.deep_link().register_all() { + logs::host("warn", &format!("storebound:// links not registered: {e}")); + } let handle = app.handle().clone(); app.deep_link().on_open_url(move |e| handle_deep_link(&handle, &e.urls())); if let Ok(Some(urls)) = app.deep_link().get_current() {