public void LoadUpdaterData()
        {
            Loading = true;
            UpdaterData deser = Deserialize <UpdaterData>(UpdaterDataPath, UpdaterData);

            UpdaterData = deser ?? UpdaterData;
            Loading     = true;
        }
 protected AdmConfigBuilder()
 {
     if (instance == null)
     {
         Config           = new AdmConfig();
         LocationData     = new AdmLocationData();
         UpdaterData      = new UpdaterData();
         ConfigDir        = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData), "AutoDarkMode");
         ConfigFilePath   = Path.Combine(ConfigDir, "config.yaml");
         LocationDataPath = Path.Combine(ConfigDir, "location_data.yaml");
         UpdaterDataPath  = Path.Combine(ConfigDir, "update.yaml");
     }
 }