22 lines
980 B
Diff
22 lines
980 B
Diff
diff --git a/build/gulpfile.vscode.js b/build/gulpfile.vscode.js
|
|
index 93a943aba0be..5ab9be8c4bb5 100644
|
|
--- a/build/gulpfile.vscode.js
|
|
+++ b/build/gulpfile.vscode.js
|
|
@@ -257,7 +257,15 @@ function packageTask(platform, arch, sourceFolderName, destinationFolderName, op
|
|
'resources/win32/code_150x150.png'
|
|
], { base: '.' }));
|
|
} else if (platform === 'linux') {
|
|
- all = es.merge(all, gulp.src('resources/linux/code.png', { base: '.' }));
|
|
+ const icon = gulp.src('resources/linux/code.png', { base: '.' });
|
|
+
|
|
+ const desktop = gulp.src('resources/linux/code.desktop', { base: '.' })
|
|
+ .pipe(replace('@@NAME_LONG@@', product.nameLong))
|
|
+ .pipe(replace('@@NAME_SHORT@@', product.nameShort))
|
|
+ .pipe(replace('@@NAME@@', product.applicationName))
|
|
+ .pipe(replace('@@ICON@@', `code-oss`));
|
|
+
|
|
+ all = es.merge(all, icon, desktop);
|
|
} else if (platform === 'darwin') {
|
|
const shortcut = gulp.src('resources/darwin/bin/code.sh')
|
|
.pipe(rename('bin/code'));
|