feat(desktop): support dbx://open deep links

This commit is contained in:
t8y2 committed 2026-08-21 14:55:46 +08:00
1 parent 81e174e332
commit 7d6a7c2321
4 files changed
+60 -11

No files matched your search

+4
View File
@@ -2348,6 +2348,10 @@ pub fn run() {
#[cfg(target_os = "macos")]
if let RunEvent::Opened { urls } = &event {
if urls.iter().any(|url| commands::deep_link::is_app_open_deep_link(url.as_str())) {
show_main_window(app_handle);
}
let links: Vec<String> = urls
.iter()
.map(|url| url.to_string())