feat: add identifier, description, and windows properties to desktop-windows capabilities

fix: correct desktop-windows capability name in configuration
This commit is contained in:
Tunglies
2025-06-05 02:55:47 +08:00
Unverified
parent d0b3b78968
commit 3ff22ad209
2 changed files with 8 additions and 1 deletions

View File

@@ -1,4 +1,7 @@
{
"identifier": "desktop-windows-capability",
"description": "permissions for desktop windows applications",
"windows": ["main"],
"permissions": [
"core:webview:allow-create-webview",
"core:webview:allow-create-webview-window"

View File

@@ -23,7 +23,11 @@
"app": {
"windows": [],
"security": {
"capabilities": ["desktop-capability", "desktop-windows", "migrated"]
"capabilities": [
"desktop-capability",
"desktop-windows-capability",
"migrated"
]
}
}
}