Remove menubar from Electron app

You can use w.setMenu(null) or set frame: false (this also removes buttons for close, minimize and maximize options) on your window. See setMenu() or BrowserWindow(). Also check this thread Electron now has win.removeMenu() (added in v5.0.0), to remove application menus instead of using win.setMenu(null). Electron 7.1.x seems to have a bug where win.removeMenu() doesn’t work. … Read more

Electron: jQuery is not defined

A better and more generic solution IMO: <!– Insert this line above script imports –> <script>if (typeof module === ‘object’) {window.module = module; module = undefined;}</script> <!– normal script imports etc –> <script src=”https://stackoverflow.com/questions/32621988/scripts/jquery.min.js”></script> <script src=”scripts/vendor.js”></script> <!– Insert this line after script imports –> <script>if (window.module) module = window.module;</script> Benefits Works for both browser and … Read more

tech