diff --git a/electron-main.js b/electron-main.js index 0eab40e..8ca5ae6 100644 --- a/electron-main.js +++ b/electron-main.js @@ -114,7 +114,7 @@ ]; if (process.platform == 'darwin') { - var name = require('electron').remote.app.getName(); + var name = app.getName(); template.unshift({ label: name, submenu: [