提交 d0a609e0 编写于 作者: J Joao Moreno

dont launch auto updater on unsigned application

fixes #5542
上级 c5a44a05
......@@ -179,10 +179,15 @@ export class UpdateManager extends events.EventEmitter implements IUpdateService
return; // updates not available
}
try {
this.raw.setFeedURL(feedUrl);
} catch (e) {
return; // application not signed
}
this._channel = channel;
this._feedUrl = feedUrl;
this.raw.setFeedURL(feedUrl);
this.setState(State.Idle);
// Check for updates on startup after 30 seconds
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册