exclude daemon.ver

This commit is contained in:
Sean Yesmunt 2018-07-23 16:35:04 -04:00
parent cd44cc3f2d
commit 20303053c8
3 changed files with 2 additions and 3 deletions

3
.gitignore vendored
View file

@ -4,4 +4,5 @@
/static/locales /static/locales
yarn-error.log yarn-error.log
package-lock.json package-lock.json
.idea/ .idea/
/build/daemon.ver

View file

@ -1 +0,0 @@
0.20.4

View file

@ -28,7 +28,6 @@ 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);
console.log(daemonURL);
// If a daemon and daemon.ver exists, check to see if it matches the current daemon version // If a daemon and daemon.ver exists, check to see if it matches the current daemon version
const hasDaemonDownloaded = fs.existsSync(daemonFilePath); const hasDaemonDownloaded = fs.existsSync(daemonFilePath);