You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Where should such initialization code for menubar be placed in the electron-react-redux-boilerplate code? If this is not the right approach, what is the correct way to integrate menubar?
My attempt:
I modified init.js to include some code using the menubar package, as shown below. However, the original boilerplate app still appears as per normal. Furthermore, there is now an icon in the tray, but clicking on it shows an empty white menubar screen.
Sounds like app/main/index.js is the right place to do the menubar configuration. Normally you shouldn't touch the init.js as it's a bootstrap script for Electron.
For more info you should perhaps ask on Stockoverflow or at the menubar's repository.
Hello there!
How can we deploy a vanilla
electron-react-redux-boilerplate
app as a menu bar app, especially using themenubar
package?For example, based on this example, we can easily create a
menubar
app by having justmain.js
to containWhere should such initialization code for
menubar
be placed in theelectron-react-redux-boilerplate
code? If this is not the right approach, what is the correct way to integratemenubar
?My attempt:
I modified
init.js
to include some code using themenubar
package, as shown below. However, the original boilerplate app still appears as per normal. Furthermore, there is now an icon in the tray, but clicking on it shows an empty white menubar screen.Thank you very much!
The text was updated successfully, but these errors were encountered: