Fix json rights

This commit is contained in:
Ximi1970
2022-07-26 21:44:50 +02:00
parent 9b9b529aa3
commit 053e14ee27

View File

@@ -81,6 +81,9 @@ Section "Install"
${MyStrRep} $0 $0 "\" "\\"
WriteRegStr SHCTX "Software\Mozilla\NativeMessagingHosts\SysTray_X" "" "$0"
AccessControl::GrantOnFile "$INSTDIR\SysTray_X.json" "(S-1-5-32-545)" "GenericRead"
Pop $0
${If} $MultiUser.InstallMode == "CurrentUser"
;
; Find all profiles