Closed maxmandia closed 1 year ago
Here's the fix:
const mb = menubar({
icon: "./src/assets/brain@4x.png",
index: MAIN_WINDOW_WEBPACK_ENTRY,
preloadWindow: true,
showDockIcon: false,
browserWindow: {
width: 750,
height: 500,
x: 10000,
alwaysOnTop: true,
},
});
Description
I am trying to load the correct index file in the menubar options with a electron forge app set up with webpack and react. I'm not sure what path to use for the index. Any help would be appreciated.
Steps to Reproduce the Problem
Expected Behaviour
Actual Behaviour
Specifications
electron -v
ornode_modules/.bin/electron -v
to get it)Other information