fix(permission):调整window的拖动功能许可。

This commit is contained in:
徐涛 2024-07-11 22:25:02 +08:00
parent cf7fb34d99
commit 72760a64ea
2 changed files with 14 additions and 5 deletions

View File

@ -2,7 +2,9 @@
"$schema": "../gen/schemas/desktop-schema.json", "$schema": "../gen/schemas/desktop-schema.json",
"identifier": "default", "identifier": "default",
"description": "Capability for the main window", "description": "Capability for the main window",
"windows": ["main"], "windows": [
"main"
],
"permissions": [ "permissions": [
"path:default", "path:default",
"event:default", "event:default",
@ -12,6 +14,7 @@
"resources:default", "resources:default",
"menu:default", "menu:default",
"tray:default", "tray:default",
"shell:allow-open" "shell:allow-open",
"window:allow-start-dragging"
] ]
} }

View File

@ -13,7 +13,13 @@
{ {
"title": "BugWork", "title": "BugWork",
"width": 1200, "width": 1200,
"height": 800 "height": 800,
"minWidth": 1200,
"minHeight": 800,
"titleBarStyle": "Overlay",
"decorations": true,
"hiddenTitle": true,
"transparent": false
} }
], ],
"security": { "security": {