remove redundant admin check in nsis

This commit is contained in:
idk
2023-02-09 19:02:59 +00:00
parent 019581479b
commit c0fb7dcf67

View File

@@ -132,11 +132,6 @@ Function .onInit
# Admin installs have been migrated to user-mode installs.
# But I'm leaving it because I might need it again if I support service installs.
StrCpy $INSTDIR "${I2PINSTEXE_USERMODE}"
UserInfo::GetAccountType
pop $0
${If} $0 != "admin"
StrCpy $INSTDIR "${I2PINSTEXE_USERMODE}"
${EndIf}
!insertmacro MUI_LANGDLL_DISPLAY
#Call ShouldInstall64Bit
# look for user installs