mirror of
https://github.com/Eugeny/tabby.git
synced 2025-07-21 02:48:00 +00:00
Only MacOS support app.dock (#410)
This commit is contained in:
@@ -47,6 +47,7 @@ if (argv.d) {
|
||||
}
|
||||
|
||||
app.on('ready', () => {
|
||||
if (process.platform === 'darwin') {
|
||||
app.dock.setMenu(Menu.buildFromTemplate([
|
||||
{
|
||||
label: 'New window',
|
||||
@@ -55,5 +56,6 @@ app.on('ready', () => {
|
||||
}
|
||||
}
|
||||
]))
|
||||
}
|
||||
application.newWindow()
|
||||
})
|
||||
|
Reference in New Issue
Block a user