mirror of
https://github.com/ppy/osu.git
synced 2025-01-06 23:22:54 +08:00
Always update version
This commit is contained in:
parent
74b5e76c0e
commit
1e1e8cbcb5
@ -34,12 +34,12 @@ namespace osu.Game.Updater
|
||||
|
||||
if (game.IsDeployedBuild && version != lastVersion)
|
||||
{
|
||||
config.Set(OsuSetting.Version, version);
|
||||
|
||||
// only show a notification if we've previously saved a version to the config file (ie. not the first run).
|
||||
if (!string.IsNullOrEmpty(lastVersion))
|
||||
Notifications.Post(new UpdateCompleteNotification(version));
|
||||
}
|
||||
|
||||
config.Set(OsuSetting.Version, version);
|
||||
}
|
||||
|
||||
private class UpdateCompleteNotification : SimpleNotification
|
||||
|
Loading…
Reference in New Issue
Block a user