-
Notifications
You must be signed in to change notification settings - Fork 362
Open
Description
Description
I have the following code for my simple app:
const { menubar } = require("menubar");
const path = require("path");
const mb = menubar({
browserWindow: {
width: 420,
height: 520,
},
icon: path.join(__dirname, "extraResources", "icon.png"),
tooltip: "Tester",
});This works perfectly in development, but when I package this with Electron Forge, my tray icon only shows the IconTemplate.png.
Steps to Reproduce the Problem
- Use any icon for the tray
- Package the app
- The icon is using the IconTemplate.png file, not mine.
Expected Behaviour
My icon should appear in "production", not the default.
Specifications
- Menubar version: latest
- Platform: Mac + Windows
- Electron version: v28.2.1
Other information
My app is a plain HTML file.
Metadata
Metadata
Assignees
Labels
No labels