mirror of
https://github.com/osukey/osukey.git
synced 2025-08-02 22:26:41 +09:00
More warning fixes
This commit is contained in:
@ -233,7 +233,8 @@ namespace osu.Desktop.Overlays
|
||||
Text = @"Update ready to install. Click to restart!",
|
||||
Activated = () =>
|
||||
{
|
||||
UpdateManager.RestartAppWhenExited();
|
||||
// Squirrel returns execution to us after the update process is started, so it's safe to use Wait() here
|
||||
UpdateManager.RestartAppWhenExited().Wait();
|
||||
game.GracefullyExit();
|
||||
return true;
|
||||
}
|
||||
|
Reference in New Issue
Block a user