asarfuckery/appasar/stable/app_bootstrap/installDevTools.js

18 lines
452 B
JavaScript
Raw Normal View History

2019-01-17 18:22:05 +00:00
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
// used in devtools to hook in additional dev tools
// require('electron').remote.require('./installDevTools')()
function installDevTools() {
2019-03-12 17:01:00 +00:00
console.log(`Installing Devtron`);
const devtron = require('devtron');
2019-01-17 18:22:05 +00:00
devtron.uninstall();
devtron.install();
2019-03-12 17:01:00 +00:00
console.log(`Installed Devtron`);
2019-01-17 18:22:05 +00:00
}
exports.default = installDevTools;
module.exports = exports['default'];