From cf6ad8ea8cff318877758b48d3786ab08251ab89 Mon Sep 17 00:00:00 2001 From: Christian Brabandt Date: Sun, 13 Feb 2022 13:11:32 +0000 Subject: 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) --- nsis/gvim.nsi | 3 +++ 1 file changed, 3 insertions(+) (limited to 'nsis') diff --git a/nsis/gvim.nsi b/nsis/gvim.nsi index 649c6950dd..c32a8868f6 100644 --- a/nsis/gvim.nsi +++ b/nsis/gvim.nsi @@ -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 -- cgit v1.2.3