/
githubmirror
/
marktext
Обзор
Документация
Войти
/
githubmirror
/
marktext
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
v0.16.1
src/main/index.dev.js
25 строк
790 B
Felix Häusler
Find best window to open second-instance files and directories in (#1054)
09 июн 2019, 16:41
Не верифицирован
09 июн 2019, 16:41
e6e6527
Код
Авторство
О чём код?
/** * 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')