From 425da3f128b9a0472a5224f60f38b66ea3f5e045 Mon Sep 17 00:00:00 2001 From: Oj Date: Fri, 14 Jan 2022 13:50:31 +0000 Subject: [PATCH] [Updater > Request] Don't try Electron net at all, just request --- src/updater/request.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/updater/request.js b/src/updater/request.js index eef9fd9..22d9945 100644 --- a/src/updater/request.js +++ b/src/updater/request.js @@ -167,12 +167,12 @@ async function requestWithMethod(method, options) { log('Request', method, options.url); - try { + /* try { return await electronRequest(options); } catch (err) { console.log(`Error downloading with electron net: ${err.message}`); console.log('Falling back to node net library..'); - } + } */ return nodeRequest(options); } // only supports get for now, since retrying is non-idempotent and