From 85b4280b8531f96caaf043bda35f33bee1a3ea3f Mon Sep 17 00:00:00 2001 From: Miepee Date: Tue, 13 Dec 2022 06:00:46 +0100 Subject: [PATCH] Actually fix mac check --- AM2RModPacker/ModPacker.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AM2RModPacker/ModPacker.cs b/AM2RModPacker/ModPacker.cs index 20278ef..fb380c4 100644 --- a/AM2RModPacker/ModPacker.cs +++ b/AM2RModPacker/ModPacker.cs @@ -235,7 +235,7 @@ public partial class ModPacker : Form if (macCheckBox.Checked.Value) { var macZip = ZipFile.Open(modInfo.MacModPath, ZipArchiveMode.Read); - if (macZip.Entries.All(f => f.Name != "AM2R.app/Contents/MacOS/Mac_Runner")) + if (macZip.Entries.All(f => f.FullName != "AM2R.app/Contents/MacOS/Mac_Runner")) { var result = MessageBox.Show("Modded Mac game not found, make sure it's not placed in any subfolders.\nCreated profile will likely not be installable, are you sure you want to continue?", "WARNING", MessageBoxButtons.YesNo, MessageBoxType.Warning); if (result != DialogResult.Yes)