22 lines
984 B
Diff
22 lines
984 B
Diff
diff --git a/build/gulpfile.vscode.js b/build/gulpfile.vscode.js
|
|
index a6e043f122c..276823dede9 100644
|
|
--- a/build/gulpfile.vscode.js
|
|
+++ b/build/gulpfile.vscode.js
|
|
@@ -280,7 +280,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'));
|