fix linux build

This commit is contained in:
Joao Moreno
2016-08-22 10:56:59 +02:00
parent f95a488d4a
commit 35f1a8e737

View File

@@ -119,9 +119,7 @@ const config = {
token: process.env['GITHUB_TOKEN'] || void 0
};
const electronPath = path.join(build, 'electron');
gulp.task('clean-electron', util.rimraf(electronPath));
gulp.task('clean-electron', util.rimraf('.build/electron'));
gulp.task('electron', ['clean-electron'], () => {
const platform = process.platform;
@@ -133,7 +131,7 @@ gulp.task('electron', ['clean-electron'], () => {
.pipe(json({ name }))
.pipe(electron(opts))
.pipe(filter(['**', '!**/app/package.json']))
.pipe(symdest(electronPath));
.pipe(symdest('.build/electron'));
});
const languages = ['chs', 'cht', 'jpn', 'kor', 'deu', 'fra', 'esn', 'rus', 'ita'];