Skip to content

armgit / jan

Public Imported from GitHub
0

Jan is an open source alternative to ChatGPT that runs 100% offline on your computer.

style(ui): separate the updater comment from the declarations above

thinhlpg5226c4b3f001
diff --git a/web-app/src/hooks/useAppUpdater.ts b/web-app/src/hooks/useAppUpdater.ts
index 53cd6d72d..29f7af5b0 100644
--- a/web-app/src/hooks/useAppUpdater.ts
+++ b/web-app/src/hooks/useAppUpdater.ts
@@ -168,10 +168,10 @@ export const useAppUpdater = () => {
let downloaded = 0
let contentLength = 0
+
// The engine, MCP servers and agent shells are stopped by the updater
// service once the download has verified, not here: a failed download
// must not take them down.
-
await getServiceHub().updater().downloadAndInstallWithProgress((event) => {
switch (event.event) {
case 'Started':