We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 612a1f8 commit 15f05dbCopy full SHA for 15f05db
apps/desktop/src-tauri/src/lib.rs
@@ -114,9 +114,15 @@ pub async fn main() {
114
.on_window_event(tauri_plugin_windows::on_window_event)
115
.setup(move |app| {
116
let app_handle = app.handle().clone();
117
-
118
let app_clone = app_handle.clone();
119
+ #[cfg(any(windows, target_os = "linux"))]
120
+ {
121
+ // https://v2.tauri.app/ko/plugin/deep-linking/#desktop-1
122
+ use tauri_plugin_deep_link::DeepLinkExt;
123
+ app.deep_link().register_all()?;
124
+ }
125
+
126
{
127
use tauri_plugin_tray::TrayPluginExt;
128
app_handle.create_tray_menu().unwrap();
0 commit comments