title: How to play a custom sound in Electron
body: <p>I am using Electron 8.0.3 and I am trying to play a custom sound. Here's what I am doing:</p>
  
  <pre><code>  const notif = new Notification({
      title: 'Finished Download',
      body: 'test',
      sound: 'vapp/assets/sounds/mighty_sound.mp3',
    });
  
    notif.show();
  </code></pre>
  
  <p>It doesn't seem to play that sound but instead a default macOS sound. I've tried:</p>
  
  <ul>
  <li>Using a absolute path like <code>'/Users/&lt;name&gt;/Desktop/workspace/proj/vapp/assets/sounds/sound.mp3'</code></li>
  <li>Packaging the application so that the sound is bundled</li>
  <li>Playing different file types: .wav, .mp3, .aiff</li>
  <li>Choosing other macOS sounds that might exist in <code>/System/Library/Sounds</code></li>
  </ul>
  
  <p>For whatever reason, it plays the same sound.</p>
  
  <p>I have referenced this <a href="https://www.electronjs.org/docs/api/notification#playing-sounds" rel="nofollow noreferrer">documentation</a></p>