How to get rounded corners on an Electron app?
问题 I am currently trying to get rounded corners on an Electron application I'm making. I have tried nearly every solution available on-line at the moment, but none of them make any difference. How can I round the corners of my Electron app? 回答1: Make a frameless transparent window const myWindow = new BrowserWindow({ transparent: true, frame: false }) And have something like this in the renderer, or apply the style directly to the body tag <div style="width: 500px; height: 500px; border-radius: