feat: add system tray and packaging config
This commit is contained in:
1 parent
5494b633ea
commit
8957a1b90c
3 files changed
+47
No files matched your search
@@ -5,6 +5,7 @@ pub mod injection;
|
||||
pub mod models;
|
||||
pub mod settings;
|
||||
pub mod transcription;
|
||||
pub mod tray;
|
||||
pub mod ui_commands;
|
||||
|
||||
use app_state::ManagedAppState;
|
||||
@@ -13,6 +14,10 @@ use app_state::ManagedAppState;
|
||||
pub fn run() {
|
||||
tauri::Builder::default()
|
||||
.plugin(tauri_plugin_opener::init())
|
||||
.setup(|app| {
|
||||
tray::setup(app)?;
|
||||
Ok(())
|
||||
})
|
||||
.manage(ManagedAppState::default())
|
||||
.invoke_handler(tauri::generate_handler![
|
||||
ui_commands::get_app_snapshot,
|
||||
|
||||
Reference in new issue
Block a user