chore: update

This commit is contained in:
huzibaca 2024-11-17 00:46:35 +08:00
parent 3575c16326
commit 7489f5e62d
No known key found for this signature in database
GPG Key ID: D4364EE4851DC302

View File

@ -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;
// app.deep_link().register_all()?;
// }
#[cfg(target_os = "macos")]
{
app.listen("deep-link://new-url", |event| {