MacUpdater: Fix updater not closing after update is completed

This commit is contained in:
spycrab 2019-03-21 13:47:23 +01:00
parent fcd0dbef2c
commit 544f6d547d

View File

@ -128,12 +128,12 @@ void UI::LaunchApplication(std::string path)
encoding:[NSString defaultCStringEncoding]]];
}
// Stubs. These are only needed on Windows
void UI::Stop()
{
run_on_main([] { [NSApp performSelector:@selector(terminate:) withObject:nil afterDelay:0.0]; });
}
// Stub. Only needed on Windows
void UI::Init()
{
}
void UI::Stop()
{
}