title: Electron: electron-builder config
body: <p>Can somebody explain to me how <a href="https://github.com/electron-userland/electron-builder/wiki/Options#LinuxBuildOptions" rel="noreferrer">electron-builder</a> config work? I can't understand 95% of the things. Everything bellow <strong>API</strong> is somehow confusing. There are <strong>0</strong> examples of actually how something should be added to the <code>build</code> object. I mean, look at a simple dev request: I want to create windows and linux build. I copy/paste-ed some code and I came out with the fillowing:</p>
  
  <pre><code>{
    "name": "Test",
    "version": "1.0.0",
    "author": "Test Ltd.",
    "description": "Test",
    "devDependencies": {
        ...
    },
    "build": {
      "appId": "Test",
      "extraFiles": {
        "from": "./build",
        "to": "./dist"
      },
      "win": {
        "icon" : "build/images/icon.ico",
        "target": ["portable"]
      },
      "linux": {
        "icon" : "build/images/icon.png",
        "target": ["pacman"]
      }
    },
    "scripts": {
      "pack": "build --dir",
      "dist": "build"
    }
  }
  </code></pre>
  
  <ol>
  <li>It creates only x64 windows package. In the <code>dist</code> folder there is a folder called <code>win-unpacked</code> and one .exe file. The linux package is not there. Why?</li>
  <li>How to specify the arch (x64, x32)?</li>
  <li>How to use the things bellow <strong>API</strong>? I understood only how <code>WinBuildOptions</code> work - I should write "win" in the "build" object of <code>package.json</code>.</li>
  <li>What is <code>Squirrel Events</code>? I red <a href="https://github.com/Squirrel/Squirrel.Windows/blob/master/docs/using/custom-squirrel-events.md" rel="noreferrer">this</a>, but can't understand it from plain text.</li>
  <li>Any recommendations for a video guide for "How to create an installer for Windows with Electron/electron-builder?" or "How to create package for Linux and upload it online so people with Linux can download it with Electron/electron-builder?" I couldn't find any.</li>
  </ol>