Skip to content

Commit 024ab8a

Browse files
committed
set name
1 parent b837ad0 commit 024ab8a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

build/gulpfile.vscode.js

+2
Original file line numberDiff line numberDiff line change
@@ -127,8 +127,10 @@ gulp.task('electron', ['clean-electron'], () => {
127127
const platform = process.platform;
128128
const arch = process.env.VSCODE_ELECTRON_PLATFORM || (platform === 'win32' ? 'ia32' : process.arch);
129129
const opts = _.extend({}, config, { platform, arch, ffmpegChromium: true, keepDefaultApp: true });
130+
const name = product.nameShort;
130131

131132
return gulp.src('package.json')
133+
.pipe(json({ name }))
132134
.pipe(electron(opts))
133135
.pipe(filter(['**', '!**/app/package.json']))
134136
.pipe(symdest(electronPath));

0 commit comments

Comments
 (0)