talkis/src-tauri/capabilities/default.json
David Perov 5705e45686 feat: add deep-link auth handler (talkis://auth?token=...)
- Add tauri-plugin-deep-link with 'talkis' URL scheme
- Register plugin in lib.rs with on_open_url handler
- Emit 'deep-link-auth' event to frontend with JWT token
- Listen for event in UserPanel, save token and reload profile
- Add url crate for parsing deep link URLs
2026-04-07 16:31:19 +03:00

29 lines
861 B
JSON

{
"$schema": "../gen/schemas/desktop-schema.json",
"identifier": "default",
"description": "Capability for all windows",
"windows": ["widget", "settings", "widget-notice"],
"permissions": [
"core:default",
"core:window:allow-close",
"core:window:allow-minimize",
"core:window:allow-maximize",
"core:window:allow-toggle-maximize",
"core:window:allow-start-dragging",
"core:window:allow-set-focus",
"core:window:allow-set-position",
"core:window:allow-show",
"opener:default",
"global-shortcut:allow-register",
"global-shortcut:allow-unregister",
"store:allow-load",
"store:allow-get",
"store:allow-set",
"store:allow-save",
"store:allow-clear",
"store:allow-delete",
"clipboard-manager:allow-write-text",
"clipboard-manager:allow-read-text",
"deep-link:default"
]
}