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
|
|
@ -94,9 +94,9 @@ function setupCrypto (crypto) {
|
|||
}
|
||||
|
||||
function updateCrypto (crypto) {
|
||||
if (!common.isUpdateDependent(crypto.code)) return
|
||||
if (!common.isUpdateDependent(crypto.cryptoCode)) return
|
||||
const cryptoPlugin = plugin(crypto)
|
||||
cryptoPlugin.updateCore(common.getBinaries(crypto))
|
||||
cryptoPlugin.updateCore(common.getBinaries(crypto.cryptoCode))
|
||||
}
|
||||
|
||||
function plugin (crypto) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue