Exemple #1
0
        public static void RunUpgrades(SplashScreenWindow splashscreen_window)
        {
            Logging.Info("+UpgradeManager is running upgrades");

            RenewMessage(splashscreen_window);
            Upgrade.RunUpgrade();

            RenewMessage(splashscreen_window);
            V012To013.Upgrade.RunUpgrade();

            RenewMessage(splashscreen_window);
            SQLiteUpgrade.RunUpgrade(splashscreen_window);

            RenewMessage(splashscreen_window);
            MoveOCRDirs.RunUpgrade(splashscreen_window);


            Logging.Info("-UpgradeManager is running upgrades");
        }
        public static void RunUpgrades()
        {
            WPFDoEvents.AssertThisCodeIs_NOT_RunningInTheUIThread();

            Logging.Info("+UpgradeManager is running upgrades");

            RenewMessage();
            Upgrade.RunUpgrade();

            RenewMessage();
            V012To013.Upgrade.RunUpgrade();

            RenewMessage();
            SQLiteUpgrade.RunUpgrade();

            RenewMessage();
            MoveOCRDirs.RunUpgrade();

            StatusManager.Instance.ClearStatus("DBUpgrade");

            Logging.Info("-UpgradeManager is running upgrades");
        }