From 2028c189aa72a36e445136fbe09683317ff45df3 Mon Sep 17 00:00:00 2001 From: huzibaca Date: Sun, 17 Nov 2024 01:01:36 +0800 Subject: [PATCH] chore: update --- src-tauri/src/lib.rs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src-tauri/src/lib.rs b/src-tauri/src/lib.rs index 769a394e..59b2ea80 100644 --- a/src-tauri/src/lib.rs +++ b/src-tauri/src/lib.rs @@ -45,11 +45,11 @@ pub fn run() { .plugin(tauri_plugin_deep_link::init()) .plugin(tauri_plugin_window_state::Builder::default().build()) .setup(|app| { - // #[cfg(target_os = "linux")] - // { - // use tauri_plugin_deep_link::DeepLinkExt; - // app.deep_link().register_all()?; - // } + #[cfg(target_os = "linux")] + { + use tauri_plugin_deep_link::DeepLinkExt; + log_err!(app.deep_link().register_all()); + } #[cfg(target_os = "macos")] { app.listen("deep-link://new-url", |event| {