With *an* admin prompt

This commit is contained in:
Josiah Glosson 2025-08-06 21:41:15 -05:00
parent 3777373d71
commit a47af1b37d

View File

@ -36,7 +36,7 @@ Var /GLOBAL OldInstallDir
UserInfo::GetAccountType
Pop $0
${If} $0 != "Admin"
MessageBox MB_ICONINFORMATION|MB_OK "An old installation of the Modrinth App was detected that requires administrator permission to update from. You will be prompted with admin prompt shortly."
MessageBox MB_ICONINFORMATION|MB_OK "An old installation of the Modrinth App was detected that requires administrator permission to update from. You will be prompted with an admin prompt shortly."
${EndIf}
ReadRegStr $4 SHCTX "${MANUPRODUCTKEY}" ""