mirror of
https://github.com/osukey/osukey.git
synced 2025-07-01 08:20:00 +09:00
Revert more incorrect changes
This commit is contained in:
@ -39,11 +39,10 @@ namespace osu.Game.Updater
|
||||
|
||||
Schedule(() => Task.Run(CheckForUpdateAsync));
|
||||
|
||||
// Query last version only *once*, so the user can re-check for updates, in case they closed the notification or else.
|
||||
var lastVersion = config.Get<string>(OsuSetting.Version);
|
||||
|
||||
var version = game.Version;
|
||||
|
||||
var lastVersion = config.Get<string>(OsuSetting.Version);
|
||||
|
||||
if (game.IsDeployedBuild && version != lastVersion)
|
||||
{
|
||||
// only show a notification if we've previously saved a version to the config file (ie. not the first run).
|
||||
|
Reference in New Issue
Block a user