Learn about our RFC process, Open RFC meetings & more.Join in the discussion! »

gulp-download-electron

0.0.5 • Public • Published

gulp-download-electron

Download electron binary distribution

Port from grunt-download-electron

Installation

Install gulp plugin package:

npm install --save-dev gulp-download-electron

Usage

Options

  • version - Required The version of electron you want to download.
  • outputDir - Required Where to put the downloaded electron.
  • downloadDir - Where to find and save cached downloaded electron.
  • symbols - Download debugging symbols instead of binaries, default to false.
  • rebuild - Whether to rebuild native modules after electron is downloaded.
  • apm - The path to apm.

Example

gulpfile.js

var gulp = require('gulp');
var downloadelectron = require('gulp-download-electron');
 
gulp.task('downloadelectron', function(cb){
    downloadelectron({
      version: '0.24',
      outputDir: 'binaries'
    }, cb);
});
 
gulp.task('default', ['downloadelectron']);

Install

npm i gulp-download-electron

DownloadsWeekly Downloads

2

Version

0.0.5

License

MIT

Last publish

Collaborators

  • avatar