mirror of
https://github.com/jkocon/g-helper.git
synced 2026-02-23 13:00:52 +01: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