mirror of
https://github.com/osukey/osukey.git
synced 2025-05-29 09:27:18 +09:00
Revert more incorrect changes
This commit is contained in:
parent
f5c3863e6d
commit
7ae421cc8e
@ -39,11 +39,10 @@ namespace osu.Game.Updater
|
|||||||
|
|
||||||
Schedule(() => Task.Run(CheckForUpdateAsync));
|
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 version = game.Version;
|
||||||
|
|
||||||
|
var lastVersion = config.Get<string>(OsuSetting.Version);
|
||||||
|
|
||||||
if (game.IsDeployedBuild && version != lastVersion)
|
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).
|
// only show a notification if we've previously saved a version to the config file (ie. not the first run).
|
||||||
|
Loading…
x
Reference in New Issue
Block a user