private void InitializeUpdatableStuff() { DataUpdater.Initialize(); DataUpdater.Instance.Updated += OnDataUpdated; if (AcRootDirectory.Instance.IsFirstRun) { AppUpdater.OnFirstRun(); } AppUpdater.Initialize(); AppUpdater.Instance.Updated += OnAppUpdated; if (LocaleHelper.JustUpdated) { Toast.Show(AppStrings.App_LocaleUpdated, string.Format(AppStrings.App_DataUpdated_Details, LocaleHelper.LoadedVersion)); } LocaleUpdater.Initialize(LocaleHelper.LoadedVersion); LocaleUpdater.Instance.Updated += OnLocaleUpdated; if (PatchHelper.OptionPatchSupport) { PatchUpdater.Initialize(); PatchUpdater.Instance.Updated += OnPatchUpdated; } }
private void InitializeUpdatableStuff() { DataUpdater.Initialize(); DataUpdater.Instance.Updated += DataUpdater_Updated; AppUpdater.Initialize(); AppUpdater.Instance.Updated += AppUpdater_Updated; if (LocaleHelper.JustUpdated) { Toast.Show(AppStrings.App_LocaleUpdated, string.Format(AppStrings.App_DataUpdated_Details, LocaleHelper.LoadedVersion)); } LocaleUpdater.Initialize(LocaleHelper.LoadedVersion); LocaleUpdater.Instance.Updated += LocaleUpdater_Updated; }