2026-09-21 10:45:53 -04:00
|
|
|
mod commands;
|
|
|
|
|
mod models;
|
|
|
|
|
mod services;
|
|
|
|
|
|
2026-09-21 10:50:24 -04:00
|
|
|
use commands::dependencies;
|
|
|
|
|
|
2026-09-21 10:45:53 -04:00
|
|
|
#[cfg_attr(mobile, tauri::mobile_entry_point)]
|
|
|
|
|
pub fn run() {
|
|
|
|
|
tauri::Builder::default()
|
|
|
|
|
.plugin(tauri_plugin_shell::init())
|
|
|
|
|
.plugin(tauri_plugin_dialog::init())
|
|
|
|
|
.plugin(tauri_plugin_store::Builder::new().build())
|
|
|
|
|
.plugin(tauri_plugin_process::init())
|
2026-09-21 10:50:24 -04:00
|
|
|
.invoke_handler(tauri::generate_handler![
|
|
|
|
|
dependencies::check_dependencies,
|
|
|
|
|
dependencies::install_dependency,
|
|
|
|
|
])
|
2026-09-21 10:45:53 -04:00
|
|
|
.run(tauri::generate_context!())
|
|
|
|
|
.expect("error while running tauri application");
|
|
|
|
|
}
|