fix: remove download timeout limit for auto updater

This commit is contained in:
Memory 2026-03-06 14:05:43 +08:00 committed by GitHub
parent 46f0389770
commit f5cff160f2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -86,6 +86,7 @@ export async function downloadAndInstallUpdate(version: string): Promise<void> {
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',