mirror of
https://github.com/clash-verge-rev/clash-verge-rev.git
synced 2026-01-29 00:35:38 +08:00
feat: add desktop-windows capabilities configuration and permissions
feat: add identifier, description, and windows properties to desktop-windows capabilities fix: correct desktop-windows capability name in configuration
This commit is contained in:
9
src-tauri/capabilities/desktop-windows.json
Normal file
9
src-tauri/capabilities/desktop-windows.json
Normal file
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"identifier": "desktop-windows-capability",
|
||||
"description": "permissions for desktop windows applications",
|
||||
"windows": ["main"],
|
||||
"permissions": [
|
||||
"core:webview:allow-create-webview",
|
||||
"core:webview:allow-create-webview-window"
|
||||
]
|
||||
}
|
||||
@@ -21,6 +21,13 @@
|
||||
}
|
||||
},
|
||||
"app": {
|
||||
"windows": []
|
||||
"windows": [],
|
||||
"security": {
|
||||
"capabilities": [
|
||||
"desktop-capability",
|
||||
"desktop-windows-capability",
|
||||
"migrated"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user