设置应用为单例,防止多个实例同时存在

This commit is contained in:
2026-05-12 06:31:37 +08:00
parent 7847a9f6b2
commit 02f7df4201
4 changed files with 103 additions and 2 deletions

View File

@ -20,6 +20,7 @@ tauri-build = { version = "2", features = [] }
[dependencies]
tauri = { version = "2", features = ["tray-icon"] }
tauri-plugin-opener = "2"
tauri-plugin-single-instance = "2"
rodio = "0.20"
serde = { version = "1", features = ["derive"] }
serde_json = "1"