fix: access crypto code properly and add admin permissions for supervisor cmds
This commit is contained in:
parent
db90525196
commit
01275a8c9b
3 changed files with 5 additions and 6 deletions
|
|
@ -3,7 +3,6 @@ const os = require('os')
|
|||
const path = require('path')
|
||||
const cp = require('child_process')
|
||||
const fs = require('fs')
|
||||
const btc = require('./bitcoin')
|
||||
|
||||
const _ = require('lodash/fp')
|
||||
|
||||
|
|
@ -94,7 +93,7 @@ function isInstalledSoftware (coinRec) {
|
|||
}
|
||||
|
||||
function fetchAndInstall (coinRec) {
|
||||
const requiresUpdate = isUpdateDependent(coinRec.code)
|
||||
const requiresUpdate = isUpdateDependent(coinRec.cryptoCode)
|
||||
if (isInstalledSoftware(coinRec)) return
|
||||
|
||||
const binaries = BINARIES[coinRec.cryptoCode]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue