title: How to make corners rounded in electron app
body: <pre><code>const electron = require("electron");
  const {app, BrowserWindow, globalShortcut} = electron;
  const path = require("path");
  
  function createWindow(){
      win = new BrowserWindow({
          width: 1000, 
          height: 750, 
          icon: path.join(__dirname,'\checked.png'),
          frame: false,
          fullscreenable:false,
          // radii: [5,5,5,5],
          // transparent:true
  
      });
  
      win.loadFile('mainWindow.html')
      win.setMenu(null);
  }
  </code></pre>
  
  <p>Always has a white border gap on corners, making it rectangular. </p>
  
  <p>Have attempted to increase border size of css but everything expands.</p>