提交 51209bba 编写于 作者: D Daniel Imms

Add Icon to rpm file

Related to #4155
上级 ae909009
......@@ -71,6 +71,7 @@ var copyrightFilter = [
'!resources/win32/bin/code.js',
'!**/*.sh',
'!**/*.txt',
'!**/*.xpm',
'!src/vs/editor/standalone-languages/swift.ts',
];
......
......@@ -363,7 +363,10 @@ function prepareRpmPackage(arch) {
.pipe(replace('@@RELEASE@@', packageRevision))
.pipe(rename('SPECS/' + product.applicationName + '.spec'));
var all = es.merge(code, desktop, icon, shortcut, spec);
var specIcon = gulp.src('resources/linux/rpm/code.xpm', { base: '.' })
.pipe(rename('SOURCES/' + product.applicationName + '.xpm'));
var all = es.merge(code, desktop, icon, shortcut, spec, specIcon);
return all.pipe(symdest(destination));
}
......
......@@ -7,6 +7,7 @@ Vendor: Microsoft Corporation
Packager: Visual Studio Code Team <vscode-linux@microsoft.com>
License: MIT
URL: https://code.visualstudio.com/
Icon: @@NAME@@.xpm
Requires: git
AutoReq: 0
......
此差异已折叠。
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册