private void SetArma2OABetaVersion() { if (!string.IsNullOrEmpty(Arma2OAExePath)) { Arma2OABetaVersion = GameVersions.ExtractArma2OABetaVersion(Arma2OAExePath); } else { Arma2OABetaVersion = null; } }
public void Update() { try { if (IntPtr.Size == 8) { SetPathsX64(); } else { SetPathsX86(); } Arma2OABetaVersion = GameVersions.ExtractArma2OABetaVersion(Arma2OABetaExe); DayZVersion = GameVersions.ExtractDayZVersion(DayZPath); } catch //(Exception e) { //Disabled for now //_logger.ErrorException("Unable to retrieve Local Machine Info.", e); } }