mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-24 02:28:34 +01:00
@@ -220,6 +220,8 @@ function packageTask(platform, arch, opts) {
|
|||||||
p.dirname = path.posix.join('extensions', p.dirname);
|
p.dirname = path.posix.join('extensions', p.dirname);
|
||||||
}));
|
}));
|
||||||
|
|
||||||
|
var resources = gulp.src('resources/*', { base: '.' });
|
||||||
|
|
||||||
var all = es.merge(
|
var all = es.merge(
|
||||||
api,
|
api,
|
||||||
packageJson,
|
packageJson,
|
||||||
@@ -227,7 +229,8 @@ function packageTask(platform, arch, opts) {
|
|||||||
license,
|
license,
|
||||||
sources,
|
sources,
|
||||||
deps,
|
deps,
|
||||||
extraExtensions
|
extraExtensions,
|
||||||
|
resources
|
||||||
).pipe(util.skipDirectories());
|
).pipe(util.skipDirectories());
|
||||||
|
|
||||||
var result = all
|
var result = all
|
||||||
@@ -239,10 +242,6 @@ function packageTask(platform, arch, opts) {
|
|||||||
result = es.merge(result, gulp.src('resources/win/bin/**', { base: 'resources/win' }));
|
result = es.merge(result, gulp.src('resources/win/bin/**', { base: 'resources/win' }));
|
||||||
}
|
}
|
||||||
|
|
||||||
if (product.welcomePage) {
|
|
||||||
result = es.merge(result, gulp.src('resources/app/' + product.welcomePage, { base: '.' }));
|
|
||||||
}
|
|
||||||
|
|
||||||
if (platform === 'win32') {
|
if (platform === 'win32') {
|
||||||
result = es.merge(result, gulp.src(product.icons.file.ico, { base: '.' }));
|
result = es.merge(result, gulp.src(product.icons.file.ico, { base: '.' }));
|
||||||
} else if (platform === 'linux') {
|
} else if (platform === 'linux') {
|
||||||
|
|||||||
Reference in New Issue
Block a user