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",
"identifier": "default",
"description": "Capability for the main window",
"windows": ["main"],
"windows": [
"main"
],
"permissions": [
"path:default",
"event:default",
@ -12,6 +14,7 @@
"resources:default",
"menu:default",
"tray:default",
"shell:allow-open"
"shell:allow-open",
"window:allow-start-dragging"
]
}

View File

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