mirror of
https://github.com/debauchee/barrier.git
synced 2026-05-09 16:02:46 +08:00
gui execute as non-admin on installer finish
This commit is contained in:
BIN
res/ShellExecAsUser.dll
Normal file
BIN
res/ShellExecAsUser.dll
Normal file
Binary file not shown.
@@ -246,9 +246,6 @@ SectionEnd
|
||||
Function .onInstSuccess
|
||||
|
||||
; start the GUI automatically.
|
||||
Exec "$INSTDIR\synergy.exe"
|
||||
|
||||
; HACK: wait 5 secs for the GUI to take focus.
|
||||
Sleep 5000
|
||||
ShellExecAsUser::ShellExecAsUser "" "$INSTDIR\synergy.exe" SW_SHOWNORMAL
|
||||
|
||||
FunctionEnd
|
||||
|
||||
Reference in New Issue
Block a user