Skip to content

Commit

Permalink
refactor: update windows settings to allow for further cutomization l…
Browse files Browse the repository at this point in the history
…ater
  • Loading branch information
cs50victor committed Mar 28, 2024
1 parent 1a4b852 commit 0f9b3f6
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src-tauri/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
11 changes: 11 additions & 0 deletions src-tauri/tauri.conf.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": [
Expand Down

0 comments on commit 0f9b3f6

Please sign in to comment.