Skip to content

Commit 3c0e804

Browse files
committed
AppData: Add .desktop suffix to <id>
Because this is what older appstream-util expects to see.
1 parent f0a8f0f commit 3c0e804

3 files changed

+3
-3
lines changed

CMakeLists.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -239,10 +239,10 @@ install(TARGETS ${PROJECT_NAME}
239239
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
240240
BUNDLE DESTINATION ${CMAKE_INSTALL_BINDIR})
241241
if(LINUX)
242-
install(FILES linux/quaternion.desktop
242+
install(FILES linux/${IDENTIFIER}.desktop
243243
DESTINATION ${CMAKE_INSTALL_DATADIR}/applications
244244
)
245-
install(FILES linux/com.github.quaternion.appdata.xml
245+
install(FILES linux/${IDENTIFIER}.appdata.xml
246246
DESTINATION ${CMAKE_INSTALL_DATADIR}/metainfo
247247
)
248248
install(FILES ${quaternion_QM}

linux/com.github.quaternion.appdata.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<component type="desktop-application">
3-
<id>com.github.quaternion</id>
3+
<id>com.github.quaternion.desktop</id>
44
<metadata_license>CC-BY-4.0</metadata_license>
55
<project_license>GPL-3.0+</project_license>
66
<name>Quaternion</name>
File renamed without changes.

0 commit comments

Comments
 (0)