diff --git a/src-tauri/Cargo.toml b/src-tauri/Cargo.toml index b469e2c..00404b9 100644 --- a/src-tauri/Cargo.toml +++ b/src-tauri/Cargo.toml @@ -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 diff --git a/src-tauri/src/main.rs b/src-tauri/src/main.rs index e079c39..4231f30 100644 --- a/src-tauri/src/main.rs +++ b/src-tauri/src/main.rs @@ -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") }