Fix release

This commit is contained in:
Jeffrey Morgan
2015-02-06 12:38:51 -05:00
parent 9d05d5acc2
commit 42ac58f939
2 changed files with 2 additions and 3 deletions

View File

@@ -32,7 +32,6 @@ var windowOptions = {
};
app.on('activate-with-no-open-windows', function () {
var mainWindow = new BrowserWindow(windowOptions);
if (mainWindow) {
mainWindow.show();
}

View File

@@ -34,10 +34,10 @@ gulp.task('js', function () {
// emit the end event, to properly end the task
this.emit('end');
}))
.pipe(sourcemaps.init())
.pipe(gulpif(options.dev || options.test, sourcemaps.init()))
.pipe(react())
.pipe(to5({blacklist: ['regenerator']}))
.pipe(sourcemaps.write('.'))
.pipe(gulpif(options.dev || options.test, sourcemaps.write('.')))
.pipe(gulp.dest((options.dev || options.test) ? './build' : './dist/osx/' + options.filename + '/Contents/Resources/app/build'))
.pipe(gulpif(options.dev, livereload()));
});