mirror of
https://github.com/Eugeny/tabby.git
synced 2024-11-27 00:50:49 +03:00
fixed cmd-r reloading the app on macos (fixes #697)
This commit is contained in:
parent
26d7dc3031
commit
d1a2932245
@ -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 New Issue
Block a user