diff --git a/src-tauri/capabilities/migrated.json b/src-tauri/capabilities/desktop.json similarity index 87% rename from src-tauri/capabilities/migrated.json rename to src-tauri/capabilities/desktop.json index 84f5b8cc..2e85e981 100644 --- a/src-tauri/capabilities/migrated.json +++ b/src-tauri/capabilities/desktop.json @@ -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" diff --git a/src-tauri/capabilities/mobile.json b/src-tauri/capabilities/mobile.json new file mode 100644 index 00000000..a8448d43 --- /dev/null +++ b/src-tauri/capabilities/mobile.json @@ -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" + ] + } + \ No newline at end of file