From f5cff160f293e099991a9874a44c36661f83f863 Mon Sep 17 00:00:00 2001 From: Memory <134070804+Memory2314@users.noreply.github.com> Date: Fri, 6 Mar 2026 14:05:43 +0800 Subject: [PATCH] fix: remove download timeout limit for auto updater --- src/main/resolve/autoUpdater.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/resolve/autoUpdater.ts b/src/main/resolve/autoUpdater.ts index 9827c65..8104e69 100644 --- a/src/main/resolve/autoUpdater.ts +++ b/src/main/resolve/autoUpdater.ts @@ -86,6 +86,7 @@ export async function downloadAndInstallUpdate(version: string): Promise { if (!existsSync(path.join(dataDir(), file))) { const res = await chromeRequest.get(`${baseUrl}${file}`, { responseType: 'arraybuffer', + timeout: 0, proxy: { protocol: 'http', host: '127.0.0.1',