Add the getFeedURL API for macOS and Windows

This commit is contained in:
Samuel Attard 2016-07-15 00:04:48 +12:00 committed by Samuel Attard
parent ba887dbde7
commit 51687e1bc9
6 changed files with 22 additions and 0 deletions

View file

@ -19,6 +19,10 @@ AutoUpdater.prototype.quitAndInstall = function () {
return app.quit()
}
AutoUpdater.prototype.GetFeedURL = function () {
return this.updateURL;
}
AutoUpdater.prototype.setFeedURL = function (updateURL, headers) {
this.updateURL = updateURL
}