feat: add global recording shortcut
This commit is contained in:
1 parent
1f6ea8e5db
commit
2aaad73652
3 files changed
+268
-196
No files matched your search
@@ -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())
|
||||
|
||||
Reference in new issue
Block a user