Skip to content

Commit

Permalink
fix: action: Reset Window
Browse files Browse the repository at this point in the history
  • Loading branch information
cablehead committed Oct 28, 2024
1 parent 2726024 commit cb04cef
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src-tauri/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ edition = "2021"
tauri-build = { version = "1.2", features = [] }

[dependencies]
tauri = { version = "1.4", features = [ "global-shortcut", "macos-private-api", "process-command-api", "shell-open", "system-tray", "updater", "window-hide"] }
tauri = { version = "1.4", features = [ "window-center", "window-set-size", "global-shortcut", "macos-private-api", "process-command-api", "shell-open", "system-tray", "updater", "window-hide"] }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
scru128 = { version = "2.2.0", features = ["serde"] }
Expand Down
4 changes: 3 additions & 1 deletion src-tauri/tauri.conf.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,9 @@
"allowlist": {
"all": false,
"window": {
"hide": true
"hide": true,
"center": true,
"setSize": true
},
"shell": {
"all": false,
Expand Down

0 comments on commit cb04cef

Please sign in to comment.