title: Electron Forge packaging configuration not working
body: <p>I am trying to package my app with <code>electron-forge package</code> using the following configuration:</p>
  
  <pre><code>"config": {
    "forge": {
      "make_targets": {
        "linux": [
          "deb"
        ],
        "win32": [
          "squirrel"
        ]
      },
      "electronPackagerConfig": {
        "asar": false,
        "dir": "./src",
        "platform": [
          "linux",
          "win32"
        ],
        "arch": [
          "ia32",
          "x64"
        ],
        "ignore": [
          ".idea"
        ]
      }
    }
  }
  </code></pre>
  
  <p>The version of <code>electron-forge</code> I am using is 3.0.1.</p>
  
  <p>Only the values <code>asar</code> and <code>ignore</code> are recognized, while <code>dir</code>, <code>platform</code> and <code>arch</code> are ignored. I do not see an error and would highly appreciate help, a hint or a link to any working example.</p>
  
  <hr>
  
  <p><strong>Update:</strong></p>
  
  <p>It has since been suggested <a href="https://github.com/electron-userland/electron-forge/issues/177" rel="noreferrer">here</a> to use the command line for providing these options.</p>
  
  <p>While</p>
  
  <pre><code>electron-forge package --arch=ia32,x64 --platform=win32,linux
  </code></pre>
  
  <p>does package the app for all the specified systems, although the output looks like this:</p>
  
  <pre><code>✔ Checking your system
  ✔ Preparing to Package Application for arch: ia32,x64
  ✔ Compiling Application
  ✔ Preparing native dependencies
  ✔ Packaging Application
  ✔ Preparing to Package Application for arch: x64
  ✔ Compiling Application
  ✔ Preparing native dependencies
  ✔ Packaging Application
  ✔ Preparing to Package Application for arch: armv7l &lt;-- ???
  ✔ Compiling Application
  ✔ Preparing native dependencies
  ✔ Packaging Application
  ✔ Preparing to Package Application for arch: x64
  ✔ Compiling Application
  ✔ Preparing native dependencies
  ✔ Packaging Application
  </code></pre>
  
  <p>It does not seems to actually be packaging the app for the <code>armv7l</code> architecture as it says there, I think that this is just a bug with the console output, the results in the output directory look good.</p>
  
  <p>Anyway.. providing the packaging options via command line does not solve my initial problem, because I still can not specify the <code>dir</code> option for <code>electron-packer</code> that way. So, while the documentation for <a href="https://beta.electronforge.io/config/electronPackagerConfig" rel="noreferrer"><code>electronPackagerConfig</code></a> suggests all options for <code>electron-packer</code> can be set with this configuration object:</p>
  
  <blockquote>
    <p>This config object provides options directly to electron-packager, the tool we use to package your app behind the scenes.</p>
  </blockquote>
  
  <p>And while <code>electron-forge package --help</code> says I can set the current working directory after the options:</p>
  
  <pre><code>Usage: electron-forge-package [options] [cwd]
  </code></pre>
  
  <p>Which is actually not the case, this just simply sets the <code>out</code> directory where everything is written to.</p>
  
  <p>I am still stuck with this. Is there any way to provide the <code>dir</code> option via <code>electron-forge</code>? If not, my suggestion to the developers of <code>electron-forge</code> would be to implement the configuration for this in a way that makes my initial configuration from above work, because I think this is an intuitive way to configurate these parameters, using the command line to override them could still be an option, I guess.</p>