This commit is contained in:
949036910@qq.com
2026-05-28 00:55:27 +08:00
parent ea45d1cd47
commit b0c3d97bfa
6 changed files with 153 additions and 3 deletions

View File

@@ -1,9 +1,21 @@
{
"$schema": "../gen/schemas/desktop-schema.json",
"identifier": "default",
"description": "Capability for the main window",
"windows": ["main"],
"description": "Capability for the main window (local dev + remote production frontend)",
"local": true,
"remote": {
"urls": [
"http://localhost:1420/*",
"http://127.0.0.1:1420/*",
"http://81.71.163.140/*",
"http://81.71.163.140:8001/*"
]
},
"windows": ["*"],
"permissions": [
"default",
"allow-api-request",
"allow-sync-auth-session",
"core:default",
"core:window:default",
"core:window:allow-start-dragging",
@@ -17,6 +29,8 @@
"core:event:default",
"core:event:allow-listen",
"core:event:allow-unlisten",
"core:event:allow-emit",
"core:event:allow-emit-to",
"opener:default",
"dialog:default"
]