How to use the electron-devtools-installer.ANGULARJS_BATARANG function in electron-devtools-installer

To help you get started, we’ve selected a few electron-devtools-installer examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github stellarchat / desktop-client / main.js View on Github external
app.on('ready', function () {
    mainWindow = createMainWindow();
    try {
      const isDev = require('electron-is-dev')
      if (isDev) {
        require('electron-debug')()
        const electronDevTools = require('electron-devtools-installer')
        electronDevTools.default(electronDevTools.ANGULARJS_BATARANG);
        Promise.resolve()
          .then(()=>require('devtron').install())
          .then(()=>console.log('Devtron installed'))
          .catch(()=>console.log('Devtron failed to install'));
      }
    } catch(e) {
      console.log(`Skipped dev dependencies`)
    }

    HardwareWalletLedger.listeners.push((...args) => mainWindow.webContents.send(HWW_API.LISTEN, ...args));
    HardwareWalletLedger.init();

  })
  /**
github appelgriebsch / electron-boilerplate / app / index.js View on Github external
app.on('ready', function () {
    mainWindow = createMainWindow()
    const isDev = require('electron-is-dev')
    if (isDev) {
      electronDevTools.default(electronDevTools.ANGULARJS_BATARANG);
    }
  })
  /**
github hypermodules / dti / index.js View on Github external
id: edi.REACT_DEVELOPER_TOOLS,
    longName: 'React Developer Tools'
  },
  backbone: {
    installer: 'edi',
    id: edi.BACKBONE_DEBUGGER,
    longName: 'Backbone Debugger'
  },
  jquery: {
    installer: 'edi',
    id: edi.JQUERY_DEBUGGER,
    longName: 'jQuery Debugger'
  },
  angular: {
    installer: 'edi',
    id: edi.ANGULARJS_BATARANG,
    longName: 'AngularJS Batarang'
  },
  vuejs: {
    installer: 'edi',
    id: edi.VUEJS_DEVTOOLS,
    longName: 'Vue.js devtools'
  },
  redux: {
    installer: 'edi',
    id: edi.REDUX_DEVTOOLS,
    longName: 'Redux DevTools'
  },
  reactPerf: {
    installer: 'edi',
    id: edi.REACT_PERF,
    longName: 'React Perf'