| 4 | |
| 5 | #[cfg_attr(mobile, tauri::mobile_entry_point)] |
| 6 | pub fn run() { |
| 7 | tauri::Builder::default() |
| 8 | .plugin(tauri_plugin_dialog::init()) |
| 9 | .invoke_handler(tauri::generate_handler![ |
| 10 | commands::get_launch_context, |
| 11 | commands::get_default_install_path, |
| 12 | commands::get_initial_install_path, |
| 13 | commands::get_existing_installation, |
| 14 | commands::launch_registered_uninstaller, |
| 15 | commands::get_disk_space, |
| 16 | commands::validate_install_path, |
| 17 | commands::start_installation, |
| 18 | commands::set_model_config, |
| 19 | commands::test_model_config_connection, |
| 20 | commands::list_model_config_models, |
| 21 | commands::set_theme_preference, |
| 22 | commands::uninstall, |
| 23 | commands::launch_application, |
| 24 | commands::close_installer, |
| 25 | ]) |
| 26 | .run(tauri::generate_context!()) |
| 27 | .expect("error while running BitFun Installer"); |
| 28 | } |