[fix] launch option iter key

This commit is contained in:
Purp1e
2025-03-20 00:32:00 +08:00
parent d6602c4c5a
commit b90a08d0fe
3 changed files with 6 additions and 7 deletions

View File

@@ -59,6 +59,10 @@ fn main() {
// .plugin(tauri_plugin_store::Builder::default().build())
// .plugin(tauri_plugin_updater::Builder::new().build())
.setup(|app| {
// Deep Link
#[cfg(desktop)]
app.deep_link().register("cstb")?;
// Tray
#[cfg(all(desktop))]
{
@@ -80,11 +84,6 @@ fn main() {
// apply_blur(&window, Some((18, 18, 18, 0)))
// .expect("Unsupported platform! 'apply_blur' is only supported on Windows");
// Deep Link
#[cfg(desktop)]
app.deep_link().register("cstb")?;
Ok(())
})
.invoke_handler(tauri::generate_handler![