mirror of
https://github.com/jkocon/g-helper.git
synced 2026-04-10 13:00:26 +02:00
Config writing tweaks
This commit is contained in:
@@ -90,13 +90,12 @@ public static class AppConfig
|
||||
return;
|
||||
}
|
||||
|
||||
Thread.Sleep(1000);
|
||||
Thread.Sleep(500);
|
||||
|
||||
var backupText = File.ReadAllText(backup);
|
||||
|
||||
if (backupText.Contains("{") && backupText.Contains("}"))
|
||||
{
|
||||
//Logger.WriteLine("Config written");
|
||||
File.Copy(backup, configFile, true);
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user