Auth commands

This commit is contained in:
2026-04-04 16:39:13 +02:00
parent b3f1ad4573
commit 85ee25aa76
3 changed files with 147 additions and 1 deletions
+11 -1
View File
@@ -10,12 +10,22 @@ fn main() {
.plugin(tauri_plugin_opener::init())
.manage(Mutex::new(AppState::default()))
.invoke_handler(tauri::generate_handler![
// Saturn Launcher Commands
get_installed_mods,
toggle_mod,
install_mod,
get_settings,
update_settings,
saturn_launcher_lib::launcher::launch_game
// Launcher Commands
saturn_launcher_lib::launcher::launch_game,
// Auth Commands
saturn_launcher_lib::launcher::auth::auth_create_link,
saturn_launcher_lib::launcher::auth::auth_login,
saturn_launcher_lib::launcher::auth::auth_refresh,
saturn_launcher_lib::launcher::auth::auth_list,
saturn_launcher_lib::launcher::auth::auth_remove,
saturn_launcher_lib::launcher::auth::auth_validate,
saturn_launcher_lib::launcher::auth::auth_get_valid
])
.run(tauri::generate_context!())
.expect("error while running tauri application");