<ul dir="auto">
<li>Electron version: 1.6.10</li>
<li>Operating system: Windows 10</li>
</ul>
<h3 dir="auto">Expected behavior</h3>

<h3 dir="auto">Actual behavior</h3>

<h3 dir="auto">How to reproduce</h3>

<p dir="auto">Tray works in development, but once I run build and install the app, tray doesn't work.</p>
<p dir="auto">$ git clone <a href="https://github.com/ehguo/ZenFocus">https://github.com/ehguo/ZenFocus</a> -b tray<br>
$ yarn<br>
$ yarn run package-win</p>
<p dir="auto">Installer found in the "release" folder in root directory</p>
<p dir="auto">$ yarn run dev<br>
will confirm that it works in development.</p>
<p dir="auto">Relevant files can be found in <code class="notranslate">app/electron/tray/index.js</code> and <code class="notranslate">app/main.dev.js</code> (very last line)</p>
<p dir="auto"><a href="http://electron.atom.io/" rel="nofollow">http://electron.atom.io/</a> mentions <code class="notranslate">npm install &amp;&amp; npm run</code>, but <code class="notranslate">npm run</code> is not a thing :) Should be changed to <code class="notranslate">npm start</code>.</p>