Skip to content

Commit

Permalink
feat: update tauri allow list
Browse files Browse the repository at this point in the history
  • Loading branch information
ZacharyL2 committed Jun 5, 2024
1 parent 80f2d9a commit 85166d3
Show file tree
Hide file tree
Showing 3 changed files with 53 additions and 23 deletions.
46 changes: 35 additions & 11 deletions src-tauri/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 8 additions & 1 deletion src-tauri/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,14 @@ edition = "2021"
tauri-build = { version = "1", features = [] }

[dependencies]
tauri = { version = "1", features = [ "updater", "system-tray", "path-all"] }
tauri = { version = "1", features = [
"window-all",
"shell-execute",
"process-exit",
"updater",
"process-relaunch",
"system-tray",
] }

specta = "2.0.0-rc.7"
tauri-specta = { version = "=2.0.0-rc.4", features = ["typescript"] }
Expand Down
21 changes: 10 additions & 11 deletions src-tauri/tauri.conf.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,21 +23,20 @@
},
"allowlist": {
"all": false,
"path": {
"process": {
"exit": true,
"relaunch": true
},
"shell": {
"execute": true
},
"window": {
"all": true
}
},
"windows": [
{
"title": "Dashboard",
"label": "Dashboard",
"width": 600,
"height": 800,
"visible": false
}
],
"windows": [],
"security": {
"csp": null
"csp": "default-src blob: data: filesystem: ws: wss: http: https: tauri: asset: 'unsafe-eval' 'unsafe-inline' 'self';"
},
"bundle": {
"active": true,
Expand Down

0 comments on commit 85166d3

Please sign in to comment.