chore: move downloaded daemon zip file to dist folder

This commit is contained in:
Igor Gassmann 2018-03-27 18:42:26 -04:00
parent e46a7548d4
commit 2df37c4fa6
2 changed files with 1 additions and 2 deletions

1
.gitignore vendored
View file

@ -1,6 +1,5 @@
/node_modules /node_modules
/dist /dist
/build/daemon.zip
/static/daemon/lbrynet* /static/daemon/lbrynet*
/static/locales /static/locales
yarn-error.log yarn-error.log

View file

@ -23,7 +23,7 @@ const downloadDaemon = targetPlatform =>
const daemonURL = daemonURLTemplate const daemonURL = daemonURLTemplate
.replace(/DAEMONVER/g, daemonVersion) .replace(/DAEMONVER/g, daemonVersion)
.replace(/OSNAME/g, daemonPlatform); .replace(/OSNAME/g, daemonPlatform);
const tmpZipPath = 'build/daemon.zip'; const tmpZipPath = 'dist/daemon.zip';
console.log('\x1b[34minfo\x1b[0m Downloading daemon...'); console.log('\x1b[34minfo\x1b[0m Downloading daemon...');
axios axios