fixed non-working updater

This commit is contained in:
antelle 2019-10-27 16:43:47 +01:00
parent efca3632cc
commit bede42388f
2 changed files with 4 additions and 1 deletions

View File

@ -196,7 +196,7 @@ const Launcher = {
resolveProxy(url, callback) {
const window = this.getMainWindow();
const session = window.webContents.session;
session.resolveProxy(url, proxy => {
session.resolveProxy(url).then(proxy => {
const match = /^proxy\s+([\w\.]+):(\d+)+\s*/i.exec(proxy);
proxy = match && match[1] ? { host: match[1], port: +match[2] } : null;
callback(proxy);

View File

@ -1,5 +1,8 @@
Release notes
-------------
##### v1.12.2 (TBD)
`-` fixed non-working updater
##### v1.12.1 (2019-10-27)
`-` fix #1324: duplicated shortcut editor in settings
`-` fix #1313: disabled code signing for macOS dmg