Add appdata.xml to rpm template (#172976)

Fixes #141092
This commit is contained in:
Raymond Zhao
2023-02-02 01:54:43 -08:00
committed by GitHub
parent cf66f5ca3d
commit 7eb6452066
2 changed files with 4 additions and 1 deletions

View File

@@ -165,7 +165,7 @@ function prepareRpmPackage(arch) {
.pipe(replace('@@NAME_LONG@@', product.nameLong))
.pipe(replace('@@NAME@@', product.applicationName))
.pipe(replace('@@LICENSE@@', product.licenseName))
.pipe(rename('usr/share/appdata/' + product.applicationName + '.appdata.xml'));
.pipe(rename('BUILD/usr/share/appdata/' + product.applicationName + '.appdata.xml'));
const workspaceMime = gulp.src('resources/linux/code-workspace.xml', { base: '.' })
.pipe(replace('@@NAME_LONG@@', product.nameLong))