chore: update

This commit is contained in:
huzibaca 2024-11-17 01:01:36 +08:00
parent ba0dc4fb81
commit 2028c189aa

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