whoopsiee fix installer sorry abt that uwu

This commit is contained in:
ConfiG 2023-08-04 21:02:28 +03:00
parent efd2157d63
commit 785125f3f1
No known key found for this signature in database
GPG key ID: 44DA1983F524C11B

View file

@ -251,12 +251,11 @@ FunctionEnd
Function .onInit Function .onInit
!insertmacro MUI_LANGDLL_DISPLAY !insertmacro MUI_LANGDLL_DISPLAY
findGamePath: Call FindGamePath
Call FindGamePath IfErrors 0 +3
IfErrors 0 +3 StrCpy $GamePath ""
StrCpy $GamePath "" Return
Return StrCpy $INSTDIR "$GamePath\"
StrCpy $INSTDIR "$GamePath\"
FunctionEnd FunctionEnd
Function DirectoryPageShow Function DirectoryPageShow