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.
Description
I have the following code for my simple app:
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
Expected Behaviour
My icon should appear in "production", not the default.
Specifications
Other information
My app is a plain HTML file.