feat: add global shortcut functionality and update dependencies

- 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.
This commit is contained in:
2025-04-13 16:40:04 +02:00
parent 24bed2aafb
commit 4d903f40bf
7 changed files with 279 additions and 43 deletions

View File

@@ -7,6 +7,10 @@
"core:default",
"opener:default",
"dialog:default",
"core:window:allow-start-dragging"
"core:window:allow-start-dragging",
"global-shortcut:allow-is-registered",
"global-shortcut:allow-register",
"global-shortcut:allow-unregister",
"global-shortcut:allow-unregister-all"
]
}