mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2025-10-14 21:22:49 +00:00
Update doc
This commit is contained in:
parent
2e7c024f45
commit
5a540f646c
10 changed files with 249 additions and 94 deletions
|
|
@ -153,7 +153,7 @@ namespace MinecraftClient
|
|||
string configString = File.ReadAllText(filepath);
|
||||
if (configString.Contains("Some settings missing here after an upgrade?"))
|
||||
{
|
||||
string newFilePath = Path.ChangeExtension(filepath, ".backup.ini");
|
||||
string newFilePath = Path.ChangeExtension(filepath, ".old.ini");
|
||||
File.Copy(filepath, newFilePath, true);
|
||||
ConsoleIO.WriteLineFormatted("§c" + Translations.mcc_use_new_config);
|
||||
ConsoleIO.WriteLineFormatted("§c" + string.Format(Translations.mcc_backup_old_config, newFilePath));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue