title: Electron loading animation
body: <p>Could someone please help me to implement a loading animation for my Electron app ?
  I am learning this new technology and it would be nice to understand the correct way to do that.</p>
  
  <p>I am thinking about something like :</p>
  
  <pre><code>app.on('ready', () =&gt; {
       // show main content
  })
  
  app.on('not-ready', () =&gt; {
       // show loading animation
  })
  </code></pre>