From bf10fb4fe2b1c1248b86b18fb54e4dd3687896b4 Mon Sep 17 00:00:00 2001 From: szapp Date: Tue, 23 Jun 2020 14:37:11 +0200 Subject: [PATCH] Recognize entries with no file extention in setup --- setup/Ninja.nsi | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/setup/Ninja.nsi b/setup/Ninja.nsi index 94f0042..d1b577f 100644 --- a/setup/Ninja.nsi +++ b/setup/Ninja.nsi @@ -254,9 +254,8 @@ Section !$(NameSecAppFiles) SecAppFiles IfErrors "" main ; Add comma if necessary - ${WordFind} "$4" "." "E#" $3 - IfErrors +2 - StrCpy $4 "$4 ," + StrCmp "$4" "" +2 + StrCpy $4 "$4," ; Append to list DetailPrint "Add Ninja.dll to PluginList ($IniFile)..."