diff --git a/src-tauri/Cargo.toml b/src-tauri/Cargo.toml index 2d0a98a..1a9a700 100644 --- a/src-tauri/Cargo.toml +++ b/src-tauri/Cargo.toml @@ -11,7 +11,7 @@ edition = "2021" tauri-build = { version = "1", features = [] } [dependencies] -tauri = { version = "1", features = [ "shell-all", "system-tray"] } +tauri = { version = "1", features = [ "window-maximize", "window-hide", "window-close", "window-minimize", "window-start-dragging", "window-unmaximize", "window-unminimize", "window-show", "shell-all", "system-tray"] } serde = { version = "1", features = ["derive"] } serde_json = "1" dotenvy = "0.15.7" diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json index 1cef22b..30776e3 100644 --- a/src-tauri/tauri.conf.json +++ b/src-tauri/tauri.conf.json @@ -21,6 +21,17 @@ "execute": true, "sidecar": true, "open": true + }, + "window": { + "all": false, + "close": true, + "hide": true, + "show": true, + "maximize": true, + "minimize": true, + "unmaximize": true, + "unminimize": true, + "startDragging": true } }, "windows": [