From 28153bb65853daab48220567ad00ea19e18a1067 Mon Sep 17 00:00:00 2001 From: Miepee Date: Mon, 19 Dec 2022 12:36:10 +0100 Subject: [PATCH] remove old now unneeded workaround --- AM2RModPackerLib/Core.cs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/AM2RModPackerLib/Core.cs b/AM2RModPackerLib/Core.cs index ae22f78..21ba59e 100644 --- a/AM2RModPackerLib/Core.cs +++ b/AM2RModPackerLib/Core.cs @@ -39,7 +39,7 @@ public static class Core ProfileOperatingSystems.Windows => modInfo.WindowsModPath, ProfileOperatingSystems.Linux => modInfo.LinuxModPath, ProfileOperatingSystems.Mac => modInfo.MacModPath, - _ => throw new NotSupportedException("The current Operating system is not supported!") + _ => throw new NotSupportedException("The current operating system is not supported!") }; // Cleanup in case of previous errors @@ -56,8 +56,7 @@ public static class Core ZipFile.ExtractToDirectory(modInfo.AM2R11Path, tempOriginalPath); ZipFile.ExtractToDirectory(modZipPath, tempModPath); - if (Directory.Exists($"{tempModPath}/AM2R")) - tempModPath += "/AM2R"; + // There once was a workaround here to work with Linux mods built with GMS1.4, however since then, GMS broke even more and is now seemingly unable to built for Linux. // Create AM2R.exe and data.win patches switch (profileOS)