mirror of
https://github.com/Eugeny/tabby.git
synced 2024-11-23 13:13:49 +03:00
updated electron-debug usage
This commit is contained in:
parent
7b9cc47875
commit
44cf23ec08
@ -2,6 +2,7 @@ import './lru'
|
||||
import { app, ipcMain, Menu } from 'electron'
|
||||
import { parseArgs } from './cli'
|
||||
import { Application } from './app'
|
||||
import electronDebug = require('electron-debug')
|
||||
|
||||
if (!process.env.TERMINUS_PLUGINS) {
|
||||
process.env.TERMINUS_PLUGINS = ''
|
||||
@ -42,7 +43,7 @@ if (!app.requestSingleInstanceLock()) {
|
||||
}
|
||||
|
||||
if (argv.d) {
|
||||
require('electron-debug')({ enabled: true, showDevTools: 'undocked' })
|
||||
electronDebug({ isEnabled: true, showDevTools: 'undocked' })
|
||||
}
|
||||
|
||||
app.on('ready', () => {
|
||||
|
Loading…
Reference in New Issue
Block a user