Skip to content

Commit

Permalink
chore: simplifying tauri permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
ayangweb committed Oct 16, 2024
1 parent 9f4962f commit eec9979
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
8 changes: 2 additions & 6 deletions examples/tauri-dragout/capabilities/default.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,11 @@
"$schema": "../gen/schemas/desktop-schema.json",
"identifier": "default",
"description": "Capability for the all window",
"windows": [
"*"
],
"windows": ["*"],
"permissions": [
"core:default",
"core:webview:allow-create-webview-window",
"core:window:allow-close",
"drag-as-window:allow-drag-back",
"drag-as-window:allow-drag-new-window",
"drag-as-window:allow-on-drop"
"drag-as-window:default"
]
}
2 changes: 1 addition & 1 deletion examples/tauri/capabilities/default.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
"identifier": "default",
"description": "Capability for the all window",
"windows": ["*"],
"permissions": ["core:default", "drag:allow-start-drag"]
"permissions": ["core:default", "drag:default"]
}

0 comments on commit eec9979

Please sign in to comment.