mirror of
https://github.com/Eugeny/tabby.git
synced 2025-07-20 02:18:01 +00:00
open new tabs from cli (fixes #67)
This commit is contained in:
@@ -8,8 +8,8 @@ if (process.argv.indexOf('--debug') !== -1) {
|
||||
|
||||
let app = electron.app
|
||||
|
||||
let secondInstance = app.makeSingleInstance((argv) => {
|
||||
app.window.webContents.send('host:second-instance')
|
||||
let secondInstance = app.makeSingleInstance((argv, cwd) => {
|
||||
app.window.webContents.send('host:second-instance', argv, cwd)
|
||||
})
|
||||
|
||||
if (secondInstance) {
|
||||
|
Reference in New Issue
Block a user