Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
gulp.task('build', function() {
return gulp.src('package/**')
.pipe(electron({
version: '0.30.3',
// build for OSX
platform: 'darwin' }))
.pipe(electron.zfsdest('dist/es6-ng-electron.zip'));
});
gulp.task('electron_win32', function () {
return gulp.src('./**')
.pipe(electron({
version: '0.27.0',
platform: 'win32',
arch: "ia32"
}))
.pipe(electron.zfsdest('app_win32.zip'));
});
gulp.task('electron_mac', function () {
return gulp.src('./**')
.pipe(electron({
version: '0.27.0',
platform: 'darwin'
}))
.pipe(electron.zfsdest('app_mac.zip'));
});
gulp.task('electron_win64', function () {
return gulp.src('./**')
.pipe(electron({
version: '0.27.0',
platform: 'win32',
arch: "x64"
}))
.pipe(electron.zfsdest('app_win64.zip'));
});