Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save gdonega/219d1ac007c477053568d9315bd8ca02 to your computer and use it in GitHub Desktop.
Save gdonega/219d1ac007c477053568d9315bd8ca02 to your computer and use it in GitHub Desktop.
Arrumando o require('electron-debug')
/**
* This file is used specifically and only for development. It installs
* `electron-debug` & `vue-devtools`. There shouldn't be any need to
* modify this file, but it can be used to extend your development
* environment.
*/
/* eslint-disable */
// Install `electron-debug` with `devtron`
require('electron-debug')()
// Install `vue-devtools`
require('electron').app.on('ready', () => {
let installExtension = require('electron-devtools-installer')
installExtension.default(installExtension.VUEJS_DEVTOOLS)
.then(() => {})
.catch(err => {
console.log('Unable to install `vue-devtools`: \n', err)
})
})
// Require `main` process to boot app
require('./index')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment