This commit is contained in:
Kelorastus
2026-09-30 10:53:46 +02:00
parent 58ebd1dded
commit ffbb8fc9a5
12 changed files with 619 additions and 25 deletions
+10
View File
@@ -17,6 +17,16 @@ pub struct SignedIn {
username: String,
}
#[tauri::command]
pub async fn release_plan(launcher: State<'_, Launcher>) -> CmdResult<crate::release::ReleasePlan> {
Ok(launcher.release_plan().await)
}
#[tauri::command]
pub async fn release_run(launcher: State<'_, Launcher>, password: String, with_api: bool) -> CmdResult<()> {
launcher.release_run(password, with_api).await
}
#[tauri::command]
pub async fn get_status(launcher: State<'_, Launcher>) -> CmdResult<Status> {
Ok(launcher.status().await)