add ""GDH"" as installer conflict

This commit is contained in:
matcool 2024-02-10 11:10:37 -03:00
parent a46edf400f
commit 13f9761e8b

View file

@ -405,6 +405,7 @@ Function .onVerifyInstDir
IfFileExists $INSTDIR\quickldr.dll other_quickldr
IfFileExists $INSTDIR\XInput9_1_0.dll other_xinput
IfFileExists $INSTDIR\mimalloc.dll other_mimalloc
IfFileExists $INSTDIR\GDH.dll other_GDH
; all checks passed
valid:
@ -430,6 +431,9 @@ Function .onVerifyInstDir
other_mimalloc:
StrCpy $0 "mimalloc.dll"
Goto other
other_GDH:
StrCpy $0 "GDH.dll"
Goto other
other:
${StrRep} $0 $(GEODE_TEXT_MOD_LOADER_ALREADY_INSTALLED) "the dll trademark" $0
SendMessage $geode.DirectoryPage.ErrorText ${WM_SETTEXT} "" "STR:$0"