fix: save window state (#313)

This commit is contained in:
lencx
2023-02-12 00:49:55 +08:00
parent 4cba634d4a
commit 522f7b86b8
3 changed files with 26 additions and 0 deletions

View File

@@ -52,6 +52,7 @@ async fn main() {
MacosLauncher::LaunchAgent,
None,
))
.plugin(tauri_plugin_window_state::Builder::default().build())
.invoke_handler(tauri::generate_handler![
cmd::drag_window,
cmd::fullscreen,