From 6ed419aab02ba86fe41be685232b45b5043e9efe Mon Sep 17 00:00:00 2001
From: mat <26722564+matcool@users.noreply.github.com>
Date: Tue, 2 Jan 2024 23:16:28 -0300
Subject: [PATCH] no longer show megahack message on installer

maybe we should make it show which dll file is conflicting..
---
 installer/windows/installer.nsi | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/installer/windows/installer.nsi b/installer/windows/installer.nsi
index 43d6c309..816b8c02 100644
--- a/installer/windows/installer.nsi
+++ b/installer/windows/installer.nsi
@@ -399,7 +399,7 @@ Function .onVerifyInstDir
     IfFileExists $INSTDIR\Geode.dll valid
 
     ; check mod loaders/mod menus
-    IfFileExists $INSTDIR\hackpro.dll megahack
+    IfFileExists $INSTDIR\hackpro.dll other
     IfFileExists $INSTDIR\ToastedMarshmellow.dll other
     IfFileExists $INSTDIR\quickldr.dll other
     IfFileExists $INSTDIR\XInput9_1_0.dll other
@@ -413,9 +413,6 @@ Function .onVerifyInstDir
     noGameNoLife:
         SendMessage $geode.DirectoryPage.ErrorText ${WM_SETTEXT} "" "STR:$(GEODE_TEXT_GD_MISSING)"
         Goto error
-    megahack:
-        SendMessage $geode.DirectoryPage.ErrorText ${WM_SETTEXT} "" "STR:$(GEODE_TEXT_MH_ALREADY_INSTALLED)"
-        Goto error
     other:
         SendMessage $geode.DirectoryPage.ErrorText ${WM_SETTEXT} "" "STR:$(GEODE_TEXT_MOD_LOADER_ALREADY_INSTALLED)"
         Goto error