feat: use tauri_plugin_window_state

This commit is contained in:
huzibaca
2024-10-30 18:52:53 +08:00
parent 00bc6a6301
commit 08bf70681c
5 changed files with 35 additions and 6 deletions

16
src-tauri/Cargo.lock generated
View File

@@ -1013,6 +1013,7 @@ dependencies = [
"tauri-plugin-process",
"tauri-plugin-shell",
"tauri-plugin-updater",
"tauri-plugin-window-state",
"tokio",
"url",
"users",
@@ -6603,6 +6604,21 @@ dependencies = [
"zip",
]
[[package]]
name = "tauri-plugin-window-state"
version = "2.0.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "fd1cef203a15b4772898e7bc8e57c1f34696e39848987dfcd294d51ba0525650"
dependencies = [
"bitflags 2.6.0",
"log",
"serde",
"serde_json",
"tauri",
"tauri-plugin",
"thiserror",
]
[[package]]
name = "tauri-runtime"
version = "2.1.1"