From 129d5890dd1c3542b73ea2262ebf8d0e08e45cf2 Mon Sep 17 00:00:00 2001 From: Anton Keks Date: Thu, 20 Jan 2022 22:03:05 +0200 Subject: [PATCH] trying to exec nsis on Windows --- build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index 7e98d13a..68190659 100644 --- a/build.gradle +++ b/build.gradle @@ -296,7 +296,7 @@ task 'win-installer'(dependsOn: ['win32', 'win64']) { exec("wine $nsis/makensis.exe Installer/Installer.nsi", installerDir) } else { - exec("$nsis\\makensis.exe Installer\\Installer.nsi", installerDir) + exec(new String[] {"$nsis\\makensis.exe", "Installer\\Installer.nsi"}, installerDir) } ant.move(file: "${installerDir}/ipscan-${version}-setup.exe", todir: "build/libs") exec("git checkout ${installerDir}/InstallerConfig.nsh")