Skip to content

Commit

Permalink
Merge pull request #14 from ZorrillosDev/go-ipfsd
Browse files Browse the repository at this point in the history
Fix electron-log
  • Loading branch information
geolffreym authored Jan 26, 2021
2 parents 0a8df56 + dbb1c7e commit 592642a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion scripts/preinstall.js
Original file line number Diff line number Diff line change
@@ -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 [email protected] --no-save', await getElevateExec());
} catch (err) {
Expand Down

0 comments on commit 592642a

Please sign in to comment.