mirror of
https://github.com/Eugeny/tabby
synced 2024-11-15 09:27:24 +00:00
fixed cmd-r reloading the app on macos (fixes #697)
This commit is contained in:
parent
26d7dc3031
commit
d1a2932245
1 changed files with 1 additions and 2 deletions
|
@ -1,6 +1,5 @@
|
|||
import './lru'
|
||||
import { app, ipcMain, Menu } from 'electron'
|
||||
import electronDebug = require('electron-debug')
|
||||
import { parseArgs } from './cli'
|
||||
import { Application } from './app'
|
||||
if (process.platform === 'win32' && require('electron-squirrel-startup')) process.exit(0)
|
||||
|
@ -44,7 +43,7 @@ if (!app.requestSingleInstanceLock()) {
|
|||
}
|
||||
|
||||
if (argv.d) {
|
||||
electronDebug({ enabled: true, showDevTools: 'undocked' })
|
||||
require('electron-debug')({ enabled: true, showDevTools: 'undocked' })
|
||||
}
|
||||
|
||||
app.on('ready', () => {
|
||||
|
|
Loading…
Reference in a new issue