- Updated capabilities.json to include new HTTP permissions. - Enhanced desktop-schema.json and windows-schema.json with detailed fetch operation permissions. - Integrated the HTTP plugin in lib.rs to enable HTTP functionalities.
25 lines
579 B
JSON
25 lines
579 B
JSON
{
|
|
"$schema": "../gen/schemas/desktop-schema.json",
|
|
"identifier": "default",
|
|
"description": "Default capability for all windows",
|
|
"windows": ["*"],
|
|
"platforms": ["linux", "windows", "macOS"],
|
|
"permissions": [
|
|
"core:default",
|
|
"opener:default",
|
|
"opener:allow-open-url",
|
|
"opener:allow-default-urls",
|
|
"notification:default",
|
|
"autostart:default",
|
|
"updater:default",
|
|
"dialog:default",
|
|
"process:allow-restart",
|
|
{
|
|
"identifier": "http:default",
|
|
"allow": [
|
|
{ "url": "https://api.telegram.org/**" }
|
|
]
|
|
}
|
|
]
|
|
}
|