mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 10:33:30 +08:00
Disable cancelling of update via notification
This commit is contained in:
parent
0146987eba
commit
d600a73277
@ -183,6 +183,19 @@ namespace osu.Desktop.Updater
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
public override void Close()
|
||||
{
|
||||
// cancelling updates is not currently supported by the underlying updater.
|
||||
// only allow dismissing for now.
|
||||
|
||||
switch (State)
|
||||
{
|
||||
case ProgressNotificationState.Cancelled:
|
||||
base.Close();
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private class SquirrelLogger : Splat.ILogger, IDisposable
|
||||
|
Loading…
Reference in New Issue
Block a user