From 11499654b5d2ec7e1c4a6a832d749c12eca65299 Mon Sep 17 00:00:00 2001 From: valters-tomsons Date: Mon, 1 May 2023 20:09:10 +0300 Subject: [PATCH] Use userInput path when copying Utils.dll --- src/DayZLauncher.UnixPatcher/Program.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/DayZLauncher.UnixPatcher/Program.cs b/src/DayZLauncher.UnixPatcher/Program.cs index a16b6fa..12b0389 100644 --- a/src/DayZLauncher.UnixPatcher/Program.cs +++ b/src/DayZLauncher.UnixPatcher/Program.cs @@ -40,7 +40,7 @@ Common.WriteLine("Utils.dll patched!", ConsoleColor.Green); } - File.Copy(utilsPatchPath, args[0].Trim() + "/Launcher/DayZLauncher.UnixPatcher.Utils.dll", true); + File.Copy(utilsPatchPath, userInput + "/Launcher/DayZLauncher.UnixPatcher.Utils.dll", true); Common.WriteLine("UnixPatcher.Utils.dll deployed!", ConsoleColor.Green); } catch (Exception e)