mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
Fix compilation error
This commit is contained in:
@@ -97,9 +97,9 @@ void AutoUpdater::CheckForUpdates() {
|
||||
}
|
||||
|
||||
void AutoUpdater::QuitAndInstall() {
|
||||
Delegate* delegate = AutoUpdater::GetDelegate();
|
||||
if (g_update_available) {
|
||||
[[g_updater relaunchToInstallUpdate] subscribeError:^(NSError* error) {
|
||||
Delegate* delegate = AutoUpdater::GetDelegate();
|
||||
if (delegate)
|
||||
delegate->OnError(base::SysNSStringToUTF8(error.localizedDescription));
|
||||
}];
|
||||
|
||||
Reference in New Issue
Block a user