From 1dc1de3d1f99d7dde97e5fd69419d01bab94b78c Mon Sep 17 00:00:00 2001 From: Dean Herbert Date: Wed, 24 Nov 2021 19:05:52 +0900 Subject: [PATCH] Close a failed update notification immediately Fixes visual issue pointed out at https://github.com/ppy/osu/discussions/15653#discussioncomment-1679263. --- osu.Desktop/Updater/SquirrelUpdateManager.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/osu.Desktop/Updater/SquirrelUpdateManager.cs b/osu.Desktop/Updater/SquirrelUpdateManager.cs index d48c9e9661..7b60bc03e4 100644 --- a/osu.Desktop/Updater/SquirrelUpdateManager.cs +++ b/osu.Desktop/Updater/SquirrelUpdateManager.cs @@ -103,7 +103,10 @@ namespace osu.Desktop.Updater } else { + // In the case of an error, a separate notification will be displayed. notification.State = ProgressNotificationState.Cancelled; + notification.Close(); + Logger.Error(e, @"update failed!"); } }