Merge remote-tracking branch 'upstream/dev' into desktop-wsl-onboarding

This commit is contained in:
LukeParkerDev
2026-04-27 16:15:37 +10:00
655 changed files with 37554 additions and 9667 deletions
+7 -2
View File
@@ -301,10 +301,15 @@ const createPlatform = (): Platform => {
return { updateAvailable: true, version: next.version }
},
update: async () => {
updateAndRestart: async () => {
if (!UPDATER_ENABLED || !update) return
if (ostype() === "windows") await commands.killSidecar().catch(() => undefined)
await update.install().catch(() => undefined)
const installed = await update
.install()
.then(() => true)
.catch(() => false)
if (!installed) return
await relaunch()
},
restart: async () => {