<ul dir="auto">
<li>Electron version:<br>
1.6.6</li>
<li>Operating system:<br>
Linux Slackware x64</li>
</ul>
<h3 dir="auto">Expected behavior</h3>
<p dir="auto">Normal install</p>
<h3 dir="auto">Actual behavior</h3>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="npm -g install electron
/usr/local/bin/electron -&gt; /usr/local/lib/node_modules/electron/cli.js

&gt; electron@1.6.6 postinstall /usr/local/lib/node_modules/electron
&gt; node install.js

/usr/local/lib/node_modules/electron/install.js:47
  throw err
  ^

Error: EACCES: permission denied, open '/root/.electron/electron-v1.6.6-linux-x64.zip'
    at Error (native)
npm ERR! Linux 4.1.13
npm ERR! argv &quot;/usr/local/bin/node&quot; &quot;/usr/local/bin/npm&quot; &quot;-g&quot; &quot;install&quot; &quot;electron&quot;
npm ERR! node v6.9.1
npm ERR! npm  v3.10.8
npm ERR! code ELIFECYCLE

npm ERR! electron@1.6.6 postinstall: `node install.js`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the electron@1.6.6 postinstall script 'node install.js'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the electron package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node install.js
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs electron
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls electron
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /tmp/electron-packager/linux-x64/npm-debug.log"><pre class="notranslate"><code class="notranslate">npm -g install electron
/usr/local/bin/electron -&gt; /usr/local/lib/node_modules/electron/cli.js

&gt; electron@1.6.6 postinstall /usr/local/lib/node_modules/electron
&gt; node install.js

/usr/local/lib/node_modules/electron/install.js:47
  throw err
  ^

Error: EACCES: permission denied, open '/root/.electron/electron-v1.6.6-linux-x64.zip'
    at Error (native)
npm ERR! Linux 4.1.13
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "-g" "install" "electron"
npm ERR! node v6.9.1
npm ERR! npm  v3.10.8
npm ERR! code ELIFECYCLE

npm ERR! electron@1.6.6 postinstall: `node install.js`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the electron@1.6.6 postinstall script 'node install.js'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the electron package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node install.js
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs electron
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls electron
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /tmp/electron-packager/linux-x64/npm-debug.log
</code></pre></div>
<h3 dir="auto">How to reproduce</h3>
<p dir="auto">As root: npm install -g electron</p>
<p dir="auto">我想通过快捷方式来获取目标路径的参数，是否有详细的API ，或者代码，想通过参数来打开软件跳转到不同的页面，请问，大大们是否有相关的质料。</p>
<p dir="auto">I want to get the parameters of the target path through the shortcut. Do you have a detailed API or code to open the software to jump to different pages through the parameters? Could you please tell me if you have the relevant materials?</p>
<p dir="auto">Is there a demo？</p>