From 6259fb2b8293e5014457323f2ec5d605bd764124 Mon Sep 17 00:00:00 2001 From: Hsiao-nan Cheung Date: Fri, 10 May 2024 00:34:05 +0800 Subject: [PATCH] Fix bug for NSIS --- lib/core.ps1 | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/lib/core.ps1 b/lib/core.ps1 index 3954f756d7..bc182464fe 100644 --- a/lib/core.ps1 +++ b/lib/core.ps1 @@ -777,12 +777,13 @@ function Invoke-ExternalCommand { # so that it must be a command line switch, otherwise, it would be a path (e.g. 'C:/Program Files') or other word (e.g. 'some-arg') # ' (?=[/-])' matches a space followed by a slash ('/') or a hyphen ('-'), i.e. the space before a command line switch $ArgumentList = $ArgumentList.ForEach({ $_ -replace '"' -split '(?<=(?