add checks for macOS
This commit is contained in:
parent
ef12775d84
commit
718bae29ab
2
dock.js
2
dock.js
@ -182,5 +182,5 @@ module.exports.navitemplate = function(win){
|
||||
module.exports.setdock = function(win) {
|
||||
const dockMenu = Menu.buildFromTemplate(module.exports.navitemplate(win))
|
||||
|
||||
app.dock.setMenu(dockMenu);
|
||||
if(process.platform == 'darwin' ) app.dock.setMenu(dockMenu);
|
||||
}
|
||||
|
Reference in New Issue
Block a user