title: How to Change ElectronJS App default Icon?
body: <p>I am new to electronjs. I want to convert an angular app to desktop. I could achieve it successfully but the problem is that the app icon is set to default electron and not the icon I provided as follows:</p>
  
  <pre><code>   win = new BrowserWindow({
      width: 600,
      height: 670,
      icon: `${__dirname}/dist/assets/imgs/logo.png`
    })
  </code></pre>
  
  <p>I changed the icon after building the app using resource hacker but what I need is to change it at build time in the correct way. what am I missing></p>