1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-06 00:13:28 +00:00

Add NSIS custom installer script for UAC fix on Windows (#2856)

This commit is contained in:
Vince Grassia
2022-06-08 08:47:10 -04:00
committed by GitHub
parent 93e8c8b25a
commit 3d4c5fea4d
2 changed files with 66 additions and 14 deletions

View File

@@ -0,0 +1,9 @@
!macro customInit
${if} $installMode == "all"
${IfNot} ${UAC_IsAdmin}
ShowWindow $HWNDPARENT ${SW_HIDE}
!insertmacro UAC_RunElevated
Quit
${endif}
${endif}
!macroend