
- Introduced global shortcut management in the Tauri application, allowing users to set, change, and unregister shortcuts. - Added new dependencies for global shortcut functionality in Cargo.toml and updated package.json. - Enhanced the default capabilities to include global shortcut permissions. - Refactored the main application logic to integrate the new shortcut features.
17 lines
491 B
JSON
17 lines
491 B
JSON
{
|
|
"$schema": "../gen/schemas/desktop-schema.json",
|
|
"identifier": "default",
|
|
"description": "Capability for the main window",
|
|
"windows": ["main"],
|
|
"permissions": [
|
|
"core:default",
|
|
"opener:default",
|
|
"dialog:default",
|
|
"core:window:allow-start-dragging",
|
|
"global-shortcut:allow-is-registered",
|
|
"global-shortcut:allow-register",
|
|
"global-shortcut:allow-unregister",
|
|
"global-shortcut:allow-unregister-all"
|
|
]
|
|
}
|