Exemple #1
0
        private void ApplySettings()
        {
            if (!File.Exists(Globals.ApplicationDatabaseFullPath))
            {
                App.SplashScreen.AddMessage("Creating Database...");
                var d = new Db();
                d.ReCreateDB();
                Logger.Log.Info("Database doesn't exist so created it");
            }

            if (!Directory.Exists(Globals.CoverImageFolder))
            {
                Directory.CreateDirectory(Globals.CoverImageFolder);
            }
        }