コード例 #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);
 }
コード例 #2
0
 public PatchUpdater() : base(PatchHelper.GetInstalledBuild())
 {
     DisplayInstalledVersion = PatchHelper.GetInstalledVersion();
     PatchHelper.Reloaded   += OnPatchHelperReload;
 }