diff --git a/AM2RPortHelperTests/RawModsTests.cs b/AM2RPortHelperTests/RawModsTests.cs index 83ffc2a..3995094 100644 --- a/AM2RPortHelperTests/RawModsTests.cs +++ b/AM2RPortHelperTests/RawModsTests.cs @@ -203,13 +203,13 @@ public class RawModsTests string archiveDeepSuffix = deepSuffix; if (origMod == Core.ModOS.Linux) { - archiveDeepSuffix = "assets/" + deepSuffix; + archiveDeepSuffix = "assets/" + deepSuffix.ToLower(); } - File.Copy(inputZip, testTempDir + inputZip + "_modified"); - inputZip = testTempDir + inputZip + "_modified"; + File.Copy(inputZip, testTempDir + inputZip.ToLower() + "_modified"); + inputZip = testTempDir + inputZip.ToLower() + "_modified"; using ZipArchive archive = ZipFile.Open(inputZip, ZipArchiveMode.Update); - archive.CreateEntry(archiveDeepSuffix + origInput); + archive.CreateEntry(archiveDeepSuffix + origInput.ToLower()); } if (createWorkingDirectoryBeforeHand)