feat: add global recording shortcut

This commit is contained in:
Evandro committed 2026-06-11 01:05:50 -03:00
1 parent 1f6ea8e5db
commit 2aaad73652
3 files changed
+268 -196

No files matched your search

+3
View File
@@ -4,6 +4,7 @@ pub mod error;
pub mod injection;
pub mod models;
pub mod settings;
pub mod shortcuts;
pub mod transcription;
pub mod tray;
pub mod ui_commands;
@@ -14,8 +15,10 @@ use app_state::ManagedAppState;
pub fn run() {
tauri::Builder::default()
.plugin(tauri_plugin_opener::init())
.plugin(shortcuts::plugin())
.setup(|app| {
tray::setup(app)?;
shortcuts::setup(app)?;
Ok(())
})
.manage(ManagedAppState::default())