0👍
✅
Apparently, this is the reason:
Fix will arrive in 1.8.3 or 2.0.0
0👍
Try that:
mainApp = new BrowserWindow({
width: 200,
height: 200,
x: 100,
y: 100,
resizable: false,
alwaysOnTop: true,
frame: false,
focusable: true,
minimizable: false,
maximizable: false,
closable: false,
autoHideMenuBar: true,
transparent: true,
show: false,
webPreferences: {
overlayScrollbars: true
}
});
mainApp.name ='give a name';
mainApp.setMenu(null);
mainApp.setVisibleOnAllWorkspaces(true);
Source:stackexchange.com