fix
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user