title: Puppeteer: Download Chromium for different platforms
body: <p>I'm building a UI-automator with Puppeteer and I'm shipping it as a Electron-packaged app. It works nice-and-smooth except for this issue:</p>
  
  <p><strong><code>Chromium is not downloaded</code> exception is thrown when the app is executed on a platform different than the one the app has been packaged on.</strong> </p>
  
  <p>Better said, I'm developing on a Linux environment and I'm packaging my app for both Linux and Windows, Linux app works fine, Windows app doesn't.</p>
  
  <p>The problem is: <strong>Chromium is downloaded at <code>npm install</code> time</strong>, and it's done selectively based on the current platform. Being current platform Linux, this very version of Chromium is then shipped <em>regardlessly</em> on every platform's app.</p>
  
  <p>I should be able to do one of the following:</p>
  
  <ol>
  <li>Download all-platform Chromium when npm install (on dev machine)</li>
  <li>Download Chromium selectively at packaging time (still on dev machine)</li>
  <li>Force my users to download Chromium at runtime (at first usage for example)</li>
  </ol>
  
  <p>The problem is I haven't found any Puppeteer configuration I can use for such purpose.</p>
  
  <p>Thanks</p>