feat: add default capabilities configuration and main entry point
This commit is contained in:
29
src-tauri/capabilities/default.json
Normal file
29
src-tauri/capabilities/default.json
Normal file
@@ -0,0 +1,29 @@
|
||||
{
|
||||
"$schema": "../gen/schemas/desktop-schema.json",
|
||||
"identifier": "default",
|
||||
"description": "Default capability for all windows",
|
||||
"windows": ["*"],
|
||||
"platforms": ["linux", "windows", "macOS"],
|
||||
"permissions": [
|
||||
"core:default",
|
||||
"core:webview:allow-internal-toggle-devtools",
|
||||
"opener:default",
|
||||
"opener:allow-open-url",
|
||||
"opener:allow-default-urls",
|
||||
"notification:default",
|
||||
"notification:allow-register-listener",
|
||||
"autostart:default",
|
||||
"updater:default",
|
||||
"updater:allow-check",
|
||||
"updater:allow-download",
|
||||
"updater:allow-download-and-install",
|
||||
"dialog:default",
|
||||
"process:allow-restart",
|
||||
{
|
||||
"identifier": "http:default",
|
||||
"allow": [
|
||||
{ "url": "https://api.telegram.org/**" }
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user