Skip to content

Commit

Permalink
Distribution script updated.
Browse files Browse the repository at this point in the history
  • Loading branch information
renatopp committed Nov 1, 2015
1 parent 01fdd1d commit 7070a64
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 9 deletions.
21 changes: 12 additions & 9 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -211,15 +211,18 @@ gulp.task('_watch', ['_livereload'], function() {


// TASKS (NODE WEBKIT) ========================================================
gulp.task('_electron', ['build'], function() {
gulp.task('_electron', ['build'], function(cb) {
packager({
dir: 'build',
out: 'dist',
name: project.name,
platform: 'linux,win32',
arch: 'all',
version: '0.34.2',
asar: true
dir : 'build',
out : 'dist',
name : project.name,
platform : 'linux,win32',
arch : 'all',
version : '0.34.2',
overwrite : true,
asar : true
}, function done (err, appPath) {
cb(err);
})
});

Expand All @@ -228,4 +231,4 @@ gulp.task('_electron', ['build'], function() {
gulp.task('build', ['_vendor', '_preload', '_app_build']);
gulp.task('dev', ['_vendor', '_preload', '_app_dev']);
gulp.task('serve', ['_vendor', '_preload', '_app_dev', '_watch']);
gulp.task('dist', ['_electron'])
gulp.task('dist', ['_electron']);
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
"gulp-minify-html": "~1.0.4",
"gulp-replace": "~0.5.4",
"gulp-uglify": "~1.4.1",
"gulp-zip": "^3.0.2",
"jshint-stylish": "~2.0.1",
"merge-stream": "~1.0.0"
},
Expand Down

0 comments on commit 7070a64

Please sign in to comment.