Skip to content

Commit

Permalink
Remove settings fix as its no longer needed and breaks when applied
Browse files Browse the repository at this point in the history
  • Loading branch information
valters-tomsons committed May 8, 2024
1 parent 71d7aad commit 3d24cff
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 144 deletions.
130 changes: 0 additions & 130 deletions src/DayZLauncher.UnixPatcher/Patches/LauncherConfigPatcher.cs

This file was deleted.

14 changes: 0 additions & 14 deletions src/DayZLauncher.UnixPatcher/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -63,18 +63,4 @@
File.Move(backupAssembly, targetAssembly);
}

Common.WriteLine("Applying launcher settings fix...");
try
{
LauncherConfigPatcher.ApplySettingsBandAid(userInput);
await LauncherConfigPatcher.PatchLauncherConfigFile(userInput);
LauncherConfigPatcher.RemoveOldUserConfig(userInput);
Common.WriteLine("Settings fix applied!", ConsoleColor.Green);
}
catch
{
Common.WriteLine("Failed to patch launcher settings", ConsoleColor.Red);
Common.WriteLine("Launcher may continue to not save properly", ConsoleColor.Yellow);
}

Common.WriteLine("Patching finished!");

0 comments on commit 3d24cff

Please sign in to comment.