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