fluxa-desktop/src-tauri/capabilities/default.json
KhooLy 736b99313e Add stream/magnet link copy and download-from-context-menu
Adds a context menu on the player overlay and source rows to copy a
stream's direct/magnet link or trigger an offline download, backed
by a new stream_magnet_link command and a torrent-download resolver
that reuses (or starts) the torrent server on demand. Also refactors
start_torrent_stream's health-check into ensure_healthy_torrent_base_url
for reuse, and keeps the torrent server alive across stream stops so
downloads can still be resolved, tearing it down only on app exit.
2026-07-15 19:36:03 +03:00

35 lines
976 B
JSON

{
"identifier": "default",
"description": "Default capabilities for Fluxa Desktop",
"windows": ["main"],
"permissions": [
"core:default",
"core:window:allow-set-fullscreen",
"core:window:allow-is-fullscreen",
"core:window:allow-set-size",
"core:window:allow-set-position",
"core:window:allow-outer-size",
"core:window:allow-outer-position",
"core:window:allow-set-always-on-top",
"core:window:allow-current-monitor",
"core:window:allow-available-monitors",
"core:window:allow-set-decorations",
"core:window:allow-maximize",
"core:window:allow-unmaximize",
"core:webview:allow-set-webview-zoom",
"shell:allow-open",
{
"identifier": "http:default",
"allow": [
{ "url": "http://*" },
{ "url": "https://*" }
]
},
"libmpv:default",
"updater:default",
"process:allow-restart",
"dialog:allow-open",
"dialog:allow-save",
"notification:default"
]
}