vscode: change hard-coded icon path

closes #13722

[skip ci]
This commit is contained in:
Young Jin Park 2019-08-18 16:02:54 +09:00 committed by Helmut Pozimski
parent c0fbc83fef
commit 7b19a75cd1
2 changed files with 2 additions and 2 deletions

View file

@ -13,7 +13,7 @@ index 090db00ffebb..0c54098d2601 100644
+ .pipe(replace('@@NAME_LONG@@', product.nameLong)) + .pipe(replace('@@NAME_LONG@@', product.nameLong))
+ .pipe(replace('@@NAME_SHORT@@', product.nameShort)) + .pipe(replace('@@NAME_SHORT@@', product.nameShort))
+ .pipe(replace('@@NAME@@', product.applicationName)) + .pipe(replace('@@NAME@@', product.applicationName))
+ .pipe(replace('@@ICON@@', `/usr/share/pixmaps/${product.applicationName}.png`)); + .pipe(replace('@@ICON@@', `code-oss`));
+ +
+ all = es.merge(all, icon, desktop); + all = es.merge(all, icon, desktop);
} else if (platform === 'darwin') { } else if (platform === 'darwin') {

View file

@ -1,7 +1,7 @@
# Template file for 'vscode' # Template file for 'vscode'
pkgname=vscode pkgname=vscode
version=1.36.1 version=1.36.1
revision=1 revision=2
hostmakedepends="pkg-config python nodejs-lts yarn" hostmakedepends="pkg-config python nodejs-lts yarn"
makedepends="libxkbfile-devel libsecret-devel" makedepends="libxkbfile-devel libsecret-devel"
depends="GConf libXtst libxkbfile nss dejavu-fonts-ttf" depends="GConf libXtst libxkbfile nss dejavu-fonts-ttf"