chore: update

This commit is contained in:
huzibaca
2024-11-17 00:46:35 +08:00
Unverified
parent c40db417d2
commit ba0dc4fb81

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| {