question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Help wanted: Integrating menubar

See original GitHub issue

Hello,

I tried to integrate menubar (https://github.com/maxogden/menubar) with this cli plugin but i cant get it working. I basically removed everything in background.js and added

const { menubar } = require('menubar');

const mb = menubar();

mb.on('ready', () => {
  console.log('app is ready');
  // your app code here
});

Does anybody has some things in mind i could try to solve this?

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:1
  • Comments:7 (1 by maintainers)

github_iconTop GitHub Comments

2reactions
philippkuehncommented, Oct 16, 2019

Ah… found the issue. This is working for me

menubar({
  index: process.env.WEBPACK_DEV_SERVER_URL
    ? process.env.WEBPACK_DEV_SERVER_URL
    : 'app://./index.html',
  browserWindow: {
    webPreferences: {
      nodeIntegration: true,
    },
  },
  icon: path.join(__static, 'menubaricon.png'),
})
0reactions
luisdalmolincommented, Jun 12, 2020

@sem4phor @philippkuehn I know this is an old and closed issue, but I’m being able to run the menubar fine with the serve command, but when I build and open the app, nothing happens. Any tips here?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Way to hide or remove the native menu bar · Issue #91
I tried editing "Help" menu at drawio/src/main/webapp/js/diagramly/Menus.js , but when running npm start , the changes I made does not seem to ...
Read more >
How to Add, Remove, and Rearrange Menu Bar Icons in ...
1. Hold down the Command ( ) key. 2. Hover your mouse cursor over the icon you want to move. 3. Holding down...
Read more >
Add or Remove Menu Bar in File Explorer in Windows 11
Add or Remove File Explorer Menu Bar in Folder Options · 1 Open Folder Options. · 2 Click/tap on the View tab. (see...
Read more >
Create custom macOS menu bar apps using Hammerspoon
I just wanted to create a simple Slack integration into the menu bar (more ... a setIcon method on menubar to help us...
Read more >
15 Mac Menu Bar Apps You Should Check Out - MacSales.com
Wondering which menu bar apps to add to your Mac? This list of Mac menu bar apps compiled by OWC is a good...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found