diff --git a/examples/native-menu/main.js b/examples/native-menu/main.js index 4e85bd9..bc8be49 100755 --- a/examples/native-menu/main.js +++ b/examples/native-menu/main.js @@ -20,6 +20,10 @@ app.on('ready', () => { }); mb.on('ready', () => { + // needed for macos to remove white screen + // ref: https://github.com/max-mapper/menubar/issues/345 + tray.removeAllListeners(); + console.log('Menubar app is ready.'); // your app code here });