Skip to content

Commit

Permalink
fix: create different capabilities file for desktop and mobile platform
Browse files Browse the repository at this point in the history
  • Loading branch information
Ludea committed Oct 15, 2024
1 parent a62f55f commit 09212c0
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"identifier": "migrated",
"description": "permissions that were migrated from v1",
"identifier": "desktop-capability",
"description": "Capability for desktop",
"platforms": ["linux", "macOS", "windows"],
"local": true,
"windows": [
"main"
Expand Down
18 changes: 18 additions & 0 deletions src-tauri/capabilities/mobile.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"identifier": "mobile-capability",
"description": "Capability for mobile",
"platforms": ["iOS", "android"],
"local": true,
"windows": [
"main"
],
"permissions": [
"core:path:default",
"core:event:default",
"core:window:default",
"core:app:default",
"core:resources:default",
"core:menu:default"
]
}

0 comments on commit 09212c0

Please sign in to comment.