Windows: Run Clementine after installation with normal user privileges.
This commit is contained in:
parent
006887d242
commit
eeb54a4684
8
dist/windows/clementine.nsi.in
vendored
8
dist/windows/clementine.nsi.in
vendored
@ -32,7 +32,9 @@ SetCompressor /SOLID lzma
|
||||
!define MUI_ICON "clementine.ico"
|
||||
|
||||
!define MUI_COMPONENTSPAGE_SMALLDESC
|
||||
!define MUI_FINISHPAGE_RUN $INSTDIR/clementine.exe
|
||||
!define MUI_FINISHPAGE_RUN
|
||||
!define MUI_FINISHPAGE_RUN_TEXT "Run Clementine"
|
||||
!define MUI_FINISHPAGE_RUN_FUNCTION "RunClementine"
|
||||
|
||||
; Installer pages
|
||||
!insertmacro MUI_PAGE_WELCOME
|
||||
@ -54,6 +56,10 @@ ShowInstDetails show
|
||||
ShowUnInstDetails show
|
||||
RequestExecutionLevel admin
|
||||
|
||||
Function RunClementine
|
||||
ShellExecAsUser::ShellExecAsUser "" "$INSTDIR/clementine.exe"
|
||||
FunctionEnd
|
||||
|
||||
Section "Delete old files" oldfiles
|
||||
; Delete files from older versions
|
||||
; 0.3
|
||||
|
Loading…
x
Reference in New Issue
Block a user