Add ability to restore Cinny's window size and position (#327)

This commit is contained in:
⑆ Neveda ⑈
2025-02-11 03:56:37 +01:00
committed by GitHub
parent 2994608398
commit 845e247003
2 changed files with 2 additions and 0 deletions

View File

@@ -19,6 +19,7 @@ serde_json = "1.0.109"
serde = { version = "1.0.193", features = ["derive"] }
tauri = { version = "1.8.0", features = ["api-all", "devtools", "updater"] }
tauri-plugin-localhost = "0.1.0"
tauri-plugin-window-state = "0.1.1"
[features]
# by default Tauri runs in production mode

View File

@@ -24,6 +24,7 @@ fn main() {
builder
.plugin(tauri_plugin_localhost::Builder::new(port).build())
.plugin(tauri_plugin_window_state::Builder::default().build())
.run(context)
.expect("error while building tauri application")
}