patch 8.2.4370: MS-Windows: libsodium.dll not included with the installer

Problem:    MS-Windows: libsodium.dll not included with the installer.
Solution:   Add the file to the installer if it exists. (Christian Brabandt,
            closes #9762)
This commit is contained in:
Christian Brabandt
2022-02-13 13:11:32 +00:00
committed by Bram Moolenaar
parent f7fbeed0ac
commit cf6ad8ea8c
2 changed files with 5 additions and 0 deletions

View File

@ -347,6 +347,9 @@ Section "$(str_section_exe)" id_section_exe
File /oname=gvim.exe ${VIMSRC}\gvim_ole.exe
!if /FileExists "${VIMSRC}\vim${BIT}.dll"
File ${VIMSRC}\vim${BIT}.dll
!endif
!if /FileExists "${VIMRT}\libsodium.dll"
File ${VIMRT}\libsodium.dll
!endif
File /oname=install.exe ${VIMSRC}\installw32.exe
File /oname=uninstall.exe ${VIMSRC}\uninstallw32.exe