Files
HuLa/src-tauri/capabilities/mobile.json
T
Dawn 2feb359cf0 perf(mobile): ⚡ 优化ios整体页面 (#186)
增加ios登录页面和整体布局
2025-01-15 19:30:41 +08:00

173 lines
3.2 KiB
JSON

{
"$schema": "../gen/schemas/desktop-schema.json",
"identifier": "mobile-capability",
"description": "Capability for the main window",
"platforms": ["iOS", "android"],
"windows": ["*"],
"permissions": [
"core:default",
"http:allow-fetch",
"http:allow-fetch-cancel",
"http:allow-fetch-read-body",
"http:allow-fetch-send",
"os:default",
"os:allow-os-type",
"os:allow-arch",
"os:allow-version",
"os:allow-hostname",
"sql:allow-load",
"sql:allow-execute",
"sql:allow-select",
"sql:allow-close",
"notification:allow-is-permission-granted",
"notification:allow-request-permission",
"notification:allow-notify",
"notification:allow-register-action-types",
"notification:allow-register-listener",
"notification:allow-cancel",
"notification:allow-get-pending",
"notification:allow-remove-active",
"notification:allow-get-active",
"notification:allow-check-permissions",
"notification:allow-show",
"notification:allow-batch",
"notification:allow-list-channels",
"notification:allow-delete-channel",
"notification:allow-create-channel",
"notification:allow-permission-state",
{
"identifier": "shell:allow-execute",
"allow": [
{
"name": "powershell",
"cmd": "powershell",
"args": true
},
{
"name": "systemPath",
"cmd": "cmd",
"args": [
"-c",
{
"validator": "\\S+"
}
]
}
]
},
{
"identifier": "fs:write-files",
"allow": [
{
"path": "**"
}
]
},
{
"identifier": "fs:allow-mkdir",
"allow": [
{
"path": "**"
}
]
},
{
"identifier": "fs:read-dirs",
"allow": [
{
"path": "**"
}
]
},
{
"identifier": "fs:read-files",
"allow": [
{
"path": "**"
}
]
},
{
"identifier": "fs:allow-copy-file",
"allow": [
{
"path": "**"
}
]
},
{
"identifier": "fs:allow-read-text-file",
"allow": [
{
"path": "**"
}
]
},
{
"identifier": "http:default",
"allow": [
{
"url": "http://**"
},
{
"url": "https://**"
},
{
"url": "http://*:*"
},
{
"url": "https://*:*"
}
]
},
{
"identifier": "fs:write-files",
"allow": [
{
"path": "**"
}
]
},
{
"identifier": "fs:allow-mkdir",
"allow": [
{
"path": "**"
}
]
},
{
"identifier": "fs:read-dirs",
"allow": [
{
"path": "**"
}
]
},
{
"identifier": "fs:read-files",
"allow": [
{
"path": "**"
}
]
},
{
"identifier": "fs:allow-copy-file",
"allow": [
{
"path": "**"
}
]
},
{
"identifier": "fs:allow-read-text-file",
"allow": [
{
"path": "**"
}
]
}
]
}