private void UpdateVersions() { InstalledVersion = PatchHelper.GetInstalledBuild(); DisplayInstalledVersion = PatchHelper.GetInstalledVersion(); NothingAtAll = DisplayInstalledVersion == null || InstalledVersion == null; ChangeCurrentVersionWithoutForcing(Versions.FirstOrDefault(x => x.Build == InstalledVersion.As(-1)), false); }
public PatchUpdater() : base(PatchHelper.GetInstalledBuild()) { DisplayInstalledVersion = PatchHelper.GetInstalledVersion(); PatchHelper.Reloaded += OnPatchHelperReload; }