Skip to content

Commit

Permalink
Fix manual entry for Quake dirs not working in NSI installer
Browse files Browse the repository at this point in the history
  • Loading branch information
Novum committed Mar 15, 2023
1 parent 5c60c77 commit 6bc4735
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion Packaging/Windows/vkQuake.nsi
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,11 @@ Function QuakeDirectories
nsDialogs::Show
FunctionEnd

Function LeaveQuakeDirectories
${NSD_GetText} $RereleaseDirRequest $RereleaseDir
${NSD_GetText} $ClassicDirRequest $ClassicDir
FunctionEnd

Function un.onInit
!insertmacro MULTIUSER_UNINIT
!if ${PLATFORM} == x64
Expand All @@ -128,7 +133,7 @@ FunctionEnd

!insertmacro MULTIUSER_PAGE_INSTALLMODE
!insertmacro MUI_PAGE_DIRECTORY
Page Custom QuakeDirectories
Page Custom QuakeDirectories LeaveQuakeDirectories

!define MUI_STARTMENUPAGE_REGISTRY_ROOT "HKLM"
!define MUI_STARTMENUPAGE_REGISTRY_KEY "Software\vkQuake"
Expand Down

0 comments on commit 6bc4735

Please sign in to comment.