DeepSeek Harness Tauri 桌面版 | Only 8mb installer, zero environment setup, preset plugins, Windows / macOS / Linux.
fix(single-instance): remove tauri-plugin-single-instance
hairyf43230c46bb80
diff --git a/src-tauri/Cargo.toml b/src-tauri/Cargo.tomlindex b2916ba1..a4cbce5a 100644--- a/src-tauri/Cargo.toml+++ b/src-tauri/Cargo.toml@@ -31,7 +31,6 @@ tauri-plugin-fs = "2"tauri-plugin-store = "2"tauri-plugin-clipboard-manager = "2"tauri-plugin-notification = "2"-tauri-plugin-single-instance = "2"image = { version = "0.25", default-features = false, features = [ "png" ] }serde = { version = "1", features = [ "derive" ] }serde_json = "1"diff --git a/src-tauri/src/desktop/builder.rs b/src-tauri/src/desktop/builder.rsindex 3877b874..5b8ab7dc 100644--- a/src-tauri/src/desktop/builder.rs+++ b/src-tauri/src/desktop/builder.rs@@ -213,10 +213,6 @@ pub fn handler() -> impl Fn(Invoke<Wry>) -> bool + Send + Sync + 'static {// configure tauri builderpub fn builder() -> tauri::Builder<tauri::Wry> {tauri::Builder::default()- // 单实例插件必须最先注册:重复启动时仅唤醒当前主窗口。- .plugin(tauri_plugin_single_instance::init(|app, _args, _cwd| {- show_main_window(app);- })).setup(|app| {let app_handle = app.handle().clone();build_main_window(&app_handle)?;