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
+1
View File
@@ -71,6 +71,7 @@ var copyrightFilter = [
'!resources/win32/bin/code.js',
'!**/*.sh',
'!**/*.txt',
'!**/*.xpm',
'!src/vs/editor/standalone-languages/swift.ts',
];
+4 -1
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));
}
+1
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
File diff suppressed because it is too large Load Diff