feat: add desktop-windows capabilities configuration and permissions
This commit is contained in:
6
src-tauri/capabilities/desktop-windows.json
Normal file
6
src-tauri/capabilities/desktop-windows.json
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
{
|
||||||
|
"permissions": [
|
||||||
|
"core:webview:allow-create-webview",
|
||||||
|
"core:webview:allow-create-webview-window"
|
||||||
|
]
|
||||||
|
}
|
||||||
@@ -21,6 +21,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"app": {
|
"app": {
|
||||||
"windows": []
|
"windows": [],
|
||||||
|
"security": {
|
||||||
|
"capabilities": ["desktop-capability", "desktop-windows", "migrated"]
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user