The open source coding agent.
TypeScript
chore: generate
GitHub Actionf4cd708ca06a
diff --git a/packages/desktop/src/index.tsx b/packages/desktop/src/index.tsxindex 281b613d684..b3dbebd04c4 100644--- a/packages/desktop/src/index.tsx+++ b/packages/desktop/src/index.tsx@@ -83,7 +83,7 @@ const platform: Platform = {update: async () => {if (!UPDATER_ENABLED || !update) return- if(ostype() === "windows") await invoke("kill_sidecar")+ if (ostype() === "windows") await invoke("kill_sidecar")await update.install()},diff --git a/packages/desktop/src/updater.ts b/packages/desktop/src/updater.tsindex 2c58322a4d0..4753ee66390 100644--- a/packages/desktop/src/updater.ts+++ b/packages/desktop/src/updater.ts@@ -35,7 +35,7 @@ export async function runUpdater({ alertOnFail }: { alertOnFail: boolean }) {if (!shouldUpdate) returntry {- if(ostype() === "windows") await invoke("kill_sidecar")+ if (ostype() === "windows") await invoke("kill_sidecar")await update.install()} catch {await message("Failed to install update", { title: "Update Failed" })