summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Brabandt <cb@256bit.org>2024-04-05 19:14:46 +0100
committerGitHub <noreply@github.com>2024-04-05 20:14:46 +0200
commit19ecb46c55754d31d857688ef0926cda101927d3 (patch)
treed91688e96183d9cc676e72ff0a778cae9919071e
parent915f3bf4c157e8f1667f52a07eb98dcecfb76875 (diff)
NSIS: Correctly distribute libsodium with the installer (#14422)
closes: vim/vim-win32-installer#337 Signed-off-by: Christian Brabandt <cb@256bit.org>
-rw-r--r--nsis/gvim.nsi6
1 files changed, 3 insertions, 3 deletions
diff --git a/nsis/gvim.nsi b/nsis/gvim.nsi
index 7d866ff7c6..5574a33347 100644
--- a/nsis/gvim.nsi
+++ b/nsis/gvim.nsi
@@ -410,6 +410,9 @@ Section "$(str_section_exe)" id_section_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
File ${VIMSRC}\vimrun.exe
@@ -429,9 +432,6 @@ Section "$(str_section_exe)" id_section_exe
!if /FileExists "${VIMTOOLS}\winpty-agent.exe"
File ${VIMTOOLS}\winpty-agent.exe
!endif
-!if /FileExists "${VIMTOOLS}\libsodium.dll"
- File ${VIMTOOLS}\libsodium.dll
-!endif
SetOutPath $0\colors
File /r ${VIMRT}\colors\*.*