feat: manage windows with tauri window-state to address various window issues

This commit is contained in:
wonfen
2025-04-15 22:10:57 +08:00
committed by Tunglies
parent 18d24d5952
commit fad73a281a
6 changed files with 38 additions and 10 deletions

16
src-tauri/Cargo.lock generated
View File

@@ -1092,6 +1092,7 @@ dependencies = [
"tauri-plugin-process",
"tauri-plugin-shell",
"tauri-plugin-updater",
"tauri-plugin-window-state",
"tempfile",
"tokio",
"tokio-tungstenite 0.26.2",
@@ -7130,6 +7131,21 @@ dependencies = [
"zip",
]
[[package]]
name = "tauri-plugin-window-state"
version = "2.2.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a27a3fe49de72adbe0d84aee33c89a0b059722cd0b42aaeab29eaaee7f7535cd"
dependencies = [
"bitflags 2.9.0",
"log",
"serde",
"serde_json",
"tauri",
"tauri-plugin",
"thiserror 2.0.12",
]
[[package]]
name = "tauri-runtime"
version = "2.5.0"