1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-31 00:20:41 +08:00

Commit missing piece of puzzle

This commit is contained in:
Dean Herbert
2019-06-28 21:03:35 +09:00
Unverified
parent 1898a6750d
commit 1289b7f5fe
+1 -5
View File
@@ -25,11 +25,7 @@ namespace osu.Desktop.Updater
private UpdateManager updateManager;
private NotificationOverlay notificationOverlay;
public void PrepareUpdate()
{
// Squirrel returns execution to us after the update process is started, so it's safe to use Wait() here
UpdateManager.RestartAppWhenExited().Wait();
}
public Task PrepareUpdate() => UpdateManager.RestartAppWhenExited();
[BackgroundDependencyLoader]
private void load(NotificationOverlay notification, OsuGameBase game)