0.0.5 • Published 9 years ago

gulp-download-electron v0.0.5

Weekly downloads
1
License
MIT
Repository
github
Last release
9 years ago

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']);