When creating a frameless window in an electron, you need to create a menu to minimize / maximize / close the window: menu But here's the problem: I can’t find the "minimize the window" method in the Electron documentation. There is a BrowserWindow.hide() method, but it completely hides it, along with an icon in the taskbar.

    1 answer 1

    the method is called minimize() , see Electron API Reference