exclude daemon.ver
This commit is contained in:
parent
cd44cc3f2d
commit
20303053c8
3 changed files with 2 additions and 3 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -5,3 +5,4 @@
|
||||||
yarn-error.log
|
yarn-error.log
|
||||||
package-lock.json
|
package-lock.json
|
||||||
.idea/
|
.idea/
|
||||||
|
/build/daemon.ver
|
|
@ -1 +0,0 @@
|
||||||
0.20.4
|
|
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue