diff --git a/PatchLoaderMod/Doorstop/LinuxDoorstopManager.cs b/PatchLoaderMod/Doorstop/LinuxDoorstopManager.cs index f8d5fbd..8c87990 100644 --- a/PatchLoaderMod/Doorstop/LinuxDoorstopManager.cs +++ b/PatchLoaderMod/Doorstop/LinuxDoorstopManager.cs @@ -40,7 +40,7 @@ public class LinuxDoorstopManager : DoorstopManager { "export LD_PRELOAD", "export DOORSTOP_ENABLE", "export DOORSTOP_INVOKE_DLL_PATH", - "./Cities.x64 $@" + "exec ./Cities.x64 $@" ); public LinuxDoorstopManager(string expectedTargetAssemblyPath, Logger logger) : base(expectedTargetAssemblyPath, logger) { @@ -111,4 +111,4 @@ protected override bool IsLatestLoaderVersion() { return LoaderMD5.Equals(loaderHash); } } -} \ No newline at end of file +} diff --git a/PatchLoaderMod/Doorstop/MacOSDoorstopManager.cs b/PatchLoaderMod/Doorstop/MacOSDoorstopManager.cs index e09a7ce..7d8fe5e 100644 --- a/PatchLoaderMod/Doorstop/MacOSDoorstopManager.cs +++ b/PatchLoaderMod/Doorstop/MacOSDoorstopManager.cs @@ -43,7 +43,7 @@ public class MacOSDoorstopManager: DoorstopManager { "export DYLD_INSERT_LIBRARIES", "export DOORSTOP_ENABLE", "export DOORSTOP_INVOKE_DLL_PATH", - "./Cities.app/Contents/MacOS/Cities $@" + "exec ./Cities.app/Contents/MacOS/Cities $@" ); public MacOSDoorstopManager(string expectedTargetAssemblyPath, Logger logger) : base(expectedTargetAssemblyPath, logger) { @@ -122,4 +122,4 @@ protected override bool IsLatestLoaderVersion() { return true; } } -} \ No newline at end of file +}