UpdateStatus:
| { status: "idle" }
| { status: "checking" }
| {
downloadUrl: string | null;
notes: string | null;
status: "available";
version: string;
}
| { progress: number
| null; status: "downloading" }
| { status: "ready" }
| { status: "upToDate" }
| { message: string; status: "error" }
Every state the updater can be in.
Mirrors
src-tauri/src/updater/mod.rsUpdateStatus. Thestatusfield is the discriminant (serde tag).