Skip to content

Commit

Permalink
[hotfix] Disable settings patch
Browse files Browse the repository at this point in the history
  • Loading branch information
valters-tomsons committed Apr 23, 2023
1 parent 233ea47 commit 8e8e054
Showing 1 changed file with 3 additions and 11 deletions.
14 changes: 3 additions & 11 deletions src/DayZLauncher.UnixPatcher/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -42,16 +42,8 @@
File.Move(backupAssembly, targetAssembly);
}

Common.WriteLine("Applying launcher settings fix...");
try
{
await LauncherConfigPatcher.PatchLauncherConfigFile(userInput);
LauncherConfigPatcher.RemoveOldUserConfig(userInput);
}
catch
{
Common.WriteLine("Failed to patch launcher settings", ConsoleColor.Red);
Common.WriteLine("Launcher may continue to not save properly", ConsoleColor.Yellow);
}
Common.WriteLine("Deleting old user.config ...");
LauncherConfigPatcher.RemoveOldUserConfig(userInput);
Common.WriteLine("Launcher will still not save settings, working on that!", ConsoleColor.Yellow);

Common.WriteLine("Patching finished!");

0 comments on commit 8e8e054

Please sign in to comment.