Skip to content

Commit

Permalink
Enabled MacOS private API
Browse files Browse the repository at this point in the history
  • Loading branch information
mr-josh committed Mar 5, 2023
1 parent 06ff240 commit a34d03b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion app/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ tauri-build = { version = "1.1.1", features = [] }
[dependencies]
serde_json = "1.0"
serde = { version = "1.0", features = ["derive"] }
tauri = { version = "1.1.1", features = ["clipboard-write-text", "dialog-confirm", "dialog-open", "process-exit", "window-close", "window-create", "window-maximize", "window-minimize", "window-set-decorations", "window-set-focus", "window-set-min-size", "window-set-position", "window-set-resizable", "window-set-size", "window-set-title", "window-show", "window-start-dragging", "window-unmaximize"] }
tauri = { version = "1.1.1", features = ["clipboard-write-text", "dialog-confirm", "dialog-open", "macos-private-api", "process-exit", "window-close", "window-create", "window-maximize", "window-minimize", "window-set-decorations", "window-set-focus", "window-set-min-size", "window-set-position", "window-set-resizable", "window-set-size", "window-set-title", "window-show", "window-start-dragging", "window-unmaximize"] }

[features]
# by default Tauri runs in production mode
Expand Down
1 change: 1 addition & 0 deletions app/tauri.conf.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
"version": "0.1.0"
},
"tauri": {
"macOSPrivateApi": true,
"allowlist": {
"clipboard": {
"writeText": true
Expand Down

0 comments on commit a34d03b

Please sign in to comment.