fix(permission):调整window的拖动功能许可。
This commit is contained in:
parent
cf7fb34d99
commit
72760a64ea
|
@ -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"
|
||||||
]
|
]
|
||||||
}
|
}
|
|
@ -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": {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user