+
Updates
+
+ {!isDesktop ? (
+
+ Desktop updates are available in the Electron app only.
+
+ ) : (
+ <>
+
+
+ {updateStatus.type === "checking" && (
+
Checking for updates…
+ )}
+
+ {updateStatus.type === "available" && (
+
+
+ Update available: {updateStatus.info.version}
+
+
+
+ )}
+
+ {updateStatus.type === "downloading" && (
+
+ Downloading update: {updateStatus.percent}%
+
+ )}
+
+ {updateStatus.type === "downloaded" && (
+
+
+ Ready to install: {updateStatus.info.version}
+
+
+
+ )}
+
+ {updateStatus.type === "up-to-date" && (
+
Mux is up to date.
+ )}
+
+ {updateStatus.type === "idle" && (
+
Run a manual check to look for updates.
+ )}
+
+ {updateStatus.type === "error" && (
+
+
+ Update check failed: {updateStatus.message}
+
+
+
+ )}
+ >
+ )}
+
+
+ View all releases
+
+
+