Add Icon to rpm file

Related to #4155
This commit is contained in:
Daniel Imms 2016-03-24 14:01:51 -07:00
parent ae9090090e
commit 51209bba91
4 changed files with 1046 additions and 1 deletions

View file

@ -71,6 +71,7 @@ var copyrightFilter = [
'!resources/win32/bin/code.js',
'!**/*.sh',
'!**/*.txt',
'!**/*.xpm',
'!src/vs/editor/standalone-languages/swift.ts',
];

View file

@ -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));
}

View file

@ -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

1040
resources/linux/rpm/code.xpm Normal file

File diff suppressed because it is too large Load diff