chore: update

This commit is contained in:
oomeow 2025-11-12 21:54:44 +08:00
parent f1fe2d7e8b
commit ad6f302e21
No known key found for this signature in database
GPG Key ID: 1E1E69B3EC8F6EA7

View File

@ -87,9 +87,8 @@ mod app_init {
/// Setup deep link handling
pub fn setup_deep_links(app: &tauri::App) -> Result<(), Box<dyn std::error::Error>> {
#[cfg(any(target_os = "linux", all(debug_assertions, windows)))]
{
app.deep_link().register_all()?;
}
app.deep_link().register_all()?;
app.deep_link().on_open_url(|event| {
let urls = event.urls();
AsyncHandler::spawn(move || async move {