diff --git a/src/components/layout/update-dialog.tsx b/src/components/layout/update-dialog.tsx index d4345b8..e7f45f9 100644 --- a/src/components/layout/update-dialog.tsx +++ b/src/components/layout/update-dialog.tsx @@ -14,7 +14,6 @@ import { } from "@mui/material"; import { relaunch } from "@tauri-apps/api/process"; import { checkUpdate, installUpdate } from "@tauri-apps/api/updater"; -import { killSidecar, restartSidecar } from "@/services/cmds"; import { atomUpdateState } from "@/services/states"; import Notice from "../base/base-notice"; @@ -43,11 +42,9 @@ const UpdateDialog = (props: Props) => { setUpdateState(true); try { - await killSidecar(); await installUpdate(); await relaunch(); } catch (err: any) { - await restartSidecar(); Notice.error(err?.message || err.toString()); } finally { setUpdateState(false);