const electron = require("electron");
const {app, BrowserWindow, globalShortcut} = electron;
const path = require("path");
function createNewWindow(){
newWin = new BrowserWindow({
width: 1000,
height: 750,
icon: path.join(__dirname,'\checked.png'),
frame: false,
fullscreenable:false,
// radii: [5,5,5,5],
// transparent:true
});
newWin.loadFile('mainWindow.html')
newWin.setMenu(null);
}
There is a persistent issue with the window corners displaying a white border, resulting in a rectangular shape.
Attempts to modify the border size using CSS have not been successful, as it causes all elements to expand.