mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
fix(Windows): Correct Program Files directory for 32-bit Windows
Both installers accidentally try to get permissions from the 64-bit Program
Files, introduced in 553bd47e81
.
This commit is contained in:
parent
1063b3d7f9
commit
47406e7422
|
@ -208,7 +208,7 @@ FunctionEnd
|
|||
|
||||
Section "Create install directory"
|
||||
CreateDirectory "$INSTDIR"
|
||||
nsExec::ExecToStack 'icacls "$PROGRAMFILES64" /save "$TEMP\program-files-permissions.txt"'
|
||||
nsExec::ExecToStack 'icacls "$PROGRAMFILES" /save "$TEMP\program-files-permissions.txt"'
|
||||
Pop $0 # return value/error/timeout
|
||||
Pop $1 # printed text, up to ${NSIS_MAX_STRLEN}
|
||||
FileOpen $0 "$TEMP\program-files-permissions.txt" r
|
||||
|
|
Loading…
Reference in New Issue
Block a user