From 0f9b3f60959aa3c58b48244e2ea6ee2136fff6b4 Mon Sep 17 00:00:00 2001 From: "Victor A." <52110451+cs50victor@users.noreply.github.com> Date: Wed, 27 Mar 2024 20:16:32 -0400 Subject: [PATCH] refactor: update windows settings to allow for further cutomization later --- src-tauri/Cargo.toml | 2 +- src-tauri/tauri.conf.json | 11 +++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) 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": [