Prevent downloading the daemon if it's not necessary #1798

Closed
neb-b wants to merge 6 commits from fix-build into master
Showing only changes of commit 516d61e157 - Show all commits

View file

@ -19,7 +19,7 @@ const downloadDaemon = targetPlatform =>
if (currentPlatform === 'win32') currentPlatform = 'windows';
const daemonPlatform = targetPlatform || currentPlatform;
const tmpZipPath = path.join(__dirname,'daemon.zip');
const daemonURL = daemonURLTemplate
.replace(/DAEMONVER/g, daemonVersion)
.replace(/OSNAME/g, daemonPlatform);