Skip to content

Commit

Permalink
Add Icon to rpm file
Browse files Browse the repository at this point in the history
Related to #4155
  • Loading branch information
Tyriar committed Mar 24, 2016
1 parent ae90900 commit 51209bb
Show file tree
Hide file tree
Showing 4 changed files with 1,046 additions and 1 deletion.
1 change: 1 addition & 0 deletions build/gulpfile.hygiene.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ var copyrightFilter = [
'!resources/win32/bin/code.js',
'!**/*.sh',
'!**/*.txt',
'!**/*.xpm',
'!src/vs/editor/standalone-languages/swift.ts',
];

Expand Down
5 changes: 4 additions & 1 deletion build/gulpfile.vscode.js
Original file line number Diff line number Diff line change
Expand Up @@ -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));
}
Expand Down
1 change: 1 addition & 0 deletions resources/linux/rpm/code.spec.template
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
Loading

0 comments on commit 51209bb

Please sign in to comment.