diff --git a/scripts/preinstall.js b/scripts/preinstall.js index 784f5f192..034eb5526 100644 --- a/scripts/preinstall.js +++ b/scripts/preinstall.js @@ -1,6 +1,8 @@ -const {execPassthru, getElevateExec} = require('./util'); +const log = require('electron-log') +const {execPassthru, getElevateExec, osType} = require('./util'); const executePreInstall = async () => { + log.info('Installing ipfs in', osType); try { await execPassthru('npm install go-ipfs@0.6.0 --no-save', await getElevateExec()); } catch (err) {