mirror of
https://github.com/BTMuli/TeyvatGuide.git
synced 2025-12-06 08:32:51 +08:00
39 lines
1.3 KiB
JSON
39 lines
1.3 KiB
JSON
{
|
|
"$schema": "./schemas/desktop-schema.json",
|
|
"identifier": "Mys",
|
|
"description": "Capability for the mys client window",
|
|
"windows": ["mhy_client"],
|
|
"permissions": [
|
|
"dialog:allow-message",
|
|
"dialog:default",
|
|
"core:event:allow-emit",
|
|
"http:allow-fetch",
|
|
"core:webview:allow-set-webview-zoom",
|
|
"core:webview:default",
|
|
"core:window:allow-center",
|
|
"core:window:default",
|
|
"core:path:allow-resolve-directory",
|
|
"core:path:default",
|
|
"opener:default",
|
|
{ "identifier": "fs:allow-exists", "allow": [{ "path": "**" }] },
|
|
{ "identifier": "fs:allow-mkdir", "allow": [{ "path": "**" }] },
|
|
{ "identifier": "fs:allow-read-dir", "allow": [{ "path": "**" }] },
|
|
{ "identifier": "fs:allow-read-text-file", "allow": [{ "path": "**" }] },
|
|
{ "identifier": "fs:allow-remove", "allow": [{ "path": "**" }] },
|
|
{ "identifier": "fs:allow-write-file", "allow": [{ "path": "**" }] },
|
|
{ "identifier": "fs:allow-write-text-file", "allow": [{ "path": "**" }] },
|
|
{
|
|
"identifier": "http:default",
|
|
"allow": [
|
|
{ "url": "https://*.miyoushe.com/*" },
|
|
{ "url": "https://*.mihoyo.com/*" },
|
|
{ "url": "https://*.genshinnet.com/*" }
|
|
]
|
|
}
|
|
],
|
|
"remote": {
|
|
"urls": ["https://*.mihoyo.com/*", "https://*.miyoushe.com/*", "https://*.genshinnet.com/*"]
|
|
},
|
|
"platforms": ["windows", "macOS"]
|
|
}
|