mirror of
https://gh.catmak.name/https://github.com/mihomo-party-org/mihomo-party
synced 2026-04-13 08:00:30 +08:00
fix: remove download timeout limit for auto updater
This commit is contained in:
parent
46f0389770
commit
f5cff160f2
@ -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',
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user