Update to use Squirrel.Mac that supports CDN releases

This commit is contained in:
Samuel Attard 2018-02-15 13:58:59 +11:00
parent 7e2f7602c1
commit 6318cd781d
8 changed files with 114 additions and 16 deletions

View file

@ -99,10 +99,8 @@ void AutoUpdater::OnWindowAllClosed() {
QuitAndInstall();
}
void AutoUpdater::SetFeedURL(const std::string& url, mate::Arguments* args) {
auto_updater::AutoUpdater::HeaderMap headers;
args->GetNext(&headers);
auto_updater::AutoUpdater::SetFeedURL(url, headers);
void AutoUpdater::SetFeedURL(mate::Arguments* args) {
auto_updater::AutoUpdater::SetFeedURL(args);
}
void AutoUpdater::QuitAndInstall() {