1
0
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:
Dean Herbert 2020-03-05 14:46:38 +09:00
parent 74b5e76c0e
commit 1e1e8cbcb5

View File

@ -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