marktext/src/main/index.dev.js
Felix Häusler e6e652713a
Find best window to open second-instance files and directories in (#1054)
* Files via command-line are opened in the best window

* Don't show FSW changed notification while saving

* Fixed source-code mode setting and remove focus/typewritter option

* Simplify ignore list

* Fix invalid dialog parameter

* Fix invalid dialog parameter (2)

* Use async message box dialog

* Update documentation

* few changes

* Check timer before calling clearTimeout

* Improve switch style

* Fix style
2019-06-09 15:41:58 +02:00

26 lines
790 B
JavaScript

/**
* This file is used specifically and only for development. It installs
* `vue-devtools`. There shouldn't be any need to modify this file,
* but it can be used to extend your development environment.
*/
/* eslint-disable */
require('dotenv').config()
// Install `vue-devtools`
require('electron').app.on('ready', () => {
let installExtension = require('electron-devtools-installer')
// WORKAROUND: Electron: 2.0.0 does not match required range
// https://github.com/MarshallOfSound/electron-devtools-installer/issues/73
installExtension.default(installExtension.VUEJS_DEVTOOLS.id)
.then(() => {})
.catch(err => {
console.log('Unable to install `vue-devtools`: \n', err)
})
})
/* eslint-enable */
// Require `main` process to boot app
require('./index')