mirror of
https://github.com/microsoft/vscode.git
synced 2025-12-24 20:26:08 +00:00
fix linux build
This commit is contained in:
@@ -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'];
|
||||
|
||||
Reference in New Issue
Block a user