[Updater > Request] Don't try Electron net at all, just request

main
Oj 2 years ago
parent 675afd9e55
commit 425da3f128

@ -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

Loading…
Cancel
Save