♻️ 姑且能跑 dev,尚需调试功能

This commit is contained in:
目棃
2024-07-02 23:05:33 +08:00
parent 1214501691
commit 367307029b
66 changed files with 12626 additions and 2887 deletions

View File

@@ -0,0 +1,11 @@
{
"$schema": "./schemas/desktop-schema.json",
"identifier": "Mys",
"description": "Capability for the mys client window",
"windows": ["mhy_client"],
"permissions": [],
"remote": {
"urls": ["https://*.mihoyo.com/*", "https://*.miyoushe.com/*"]
},
"platforms": ["windows", "macOS"]
}

View File

@@ -0,0 +1,32 @@
{
"$schema": "./schemas/desktop-schema.json",
"identifier": "TeyvatGuide",
"description": "Capability for the main window",
"windows": ["TeyvatGuide"],
"permissions": [
"path:allow-resolve-directory",
"path:default",
"event:allow-listen",
"event:default",
"app:allow-version",
"app:default",
"window:allow-set-title",
"sql:allow-load",
"sql:default",
"sql:allow-execute",
"log:allow-log",
"log:default",
"http:allow-fetch",
{
"identifier": "http:default",
"allow": [
{
"url": "https://*.miyoushe.com/*"
},
{
"url": "https://*.mihoyo.com/*"
}
]
}
]
}