1
mirror of https://github.com/streamlink/streamlink synced 2024-11-10 19:05:16 +01:00

nsis: restore old install dir, keep multiuser

Resolves #1340
This commit is contained in:
bastimeyer 2018-01-03 16:07:48 +01:00
parent aec6f32aed
commit 6a893b5542

View File

@ -96,6 +96,10 @@ cat >"${build_dir}/installer_tmpl.nsi" <<EOF
!define MUI_FINISHPAGE_RUN_FUNCTION "OpenDocs"
!define MUI_FINISHPAGE_RUN_NOTCHECKED
; make global installation mode the default choice
; see MULTIUSER_PAGE_INSTALLMODE macro below
!undef MULTIUSER_INSTALLMODE_DEFAULT_CURRENTUSER
Function OpenDocs
ExecShell "" "https://streamlink.github.io/cli.html"
FunctionEnd
@ -128,6 +132,7 @@ cat >"${build_dir}/installer_tmpl.nsi" <<EOF
[% block ui_pages %]
!insertmacro MUI_PAGE_WELCOME
!insertmacro MUI_PAGE_COMPONENTS
!insertmacro MULTIUSER_PAGE_INSTALLMODE
!insertmacro MUI_PAGE_DIRECTORY
!insertmacro MUI_PAGE_INSTFILES
!insertmacro MUI_PAGE_FINISH