title: How to pass an argument to electron when using electron-builder?
body: <p>I'm building an application with Electron and packaging with Electron Builder. When running electron, I want to pass this <a href="https://github.com/electron/electron/blob/master/docs/api/sandbox-option.md" rel="noreferrer">command line argument: --enable-mixed-sandbox</a>.</p>
  
  <p>Is it possible? How?</p>
  
  <p>This:</p>
  
  <pre><code> app.commandLine.appendSwitch('enable-mixed-sandbox')
  </code></pre>
  
  <p>wouldn't work <a href="https://github.com/electron/electron/blob/master/docs/api/sandbox-option.md#example" rel="noreferrer">due to</a>:</p>
  
  <blockquote>
    <p>Note that it is not enough to call
    app.commandLine.appendSwitch('--enable-sandbox'), as electron/node
    startup code runs after it is possible to make changes to chromium
    sandbox settings. The switch must be passed to electron on the
    command-line:</p>
  
  <pre><code>electron --enable-sandbox app.js
  </code></pre>
    
    <p>It is not possible to have the OS sandbox active only for some renderers, if --enable-sandbox is enabled, normal electron windows
    cannot be created.</p>
  </blockquote>