mirror of
https://github.com/zealdocs/zeal.git
synced 2024-11-22 21:53:03 +03:00
fix(assets): update AppStream ID to org.zealdocs.zeal
AppStream specification strongly encourages lowercase ID. Flatpak documentation recommends to avoid .desktop suffix in the ID.
This commit is contained in:
parent
5d0f3fb98f
commit
d4d7d35c3e
2
.gitignore
vendored
2
.gitignore
vendored
@ -36,4 +36,4 @@ squashfs-root/
|
||||
.vscode/
|
||||
|
||||
# Linux appdata
|
||||
/assets/freedesktop/org.zealdocs.Zeal.appdata.xml
|
||||
/assets/freedesktop/org.zealdocs.zeal.appdata.xml
|
||||
|
@ -12,16 +12,16 @@ if(UNIX AND NOT APPLE)
|
||||
DESTINATION ${KDE_INSTALL_ICONDIR}
|
||||
)
|
||||
|
||||
configure_file(
|
||||
org.zealdocs.Zeal.appdata.xml.in
|
||||
org.zealdocs.Zeal.appdata.xml
|
||||
configure_file(
|
||||
org.zealdocs.zeal.appdata.xml.in
|
||||
org.zealdocs.zeal.appdata.xml
|
||||
)
|
||||
|
||||
install(FILES ${CMAKE_BINARY_DIR}/assets/freedesktop/org.zealdocs.Zeal.appdata.xml
|
||||
install(FILES ${CMAKE_BINARY_DIR}/assets/freedesktop/org.zealdocs.zeal.appdata.xml
|
||||
DESTINATION ${KDE_INSTALL_METAINFODIR}
|
||||
)
|
||||
|
||||
install(FILES "org.zealdocs.Zeal.desktop"
|
||||
install(FILES "org.zealdocs.zeal.desktop"
|
||||
DESTINATION ${KDE_INSTALL_APPDIR}
|
||||
)
|
||||
endif()
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<component type="desktop">
|
||||
<id>org.zealdocs.Zeal</id>
|
||||
<id>org.zealdocs.zeal</id>
|
||||
<name>Zeal</name>
|
||||
<metadata_license>CC0-1.0</metadata_license>
|
||||
<project_license>GPL-3.0-or-later</project_license>
|
@ -9,7 +9,7 @@ AppDir:
|
||||
path: build.appimage/AppDir
|
||||
|
||||
app_info:
|
||||
id: org.zealdocs.Zeal
|
||||
id: org.zealdocs.zeal
|
||||
name: zeal
|
||||
icon: zeal
|
||||
version: 0.6.1 # TODO: Use version from CMake.
|
||||
|
@ -216,7 +216,7 @@ int main(int argc, char *argv[])
|
||||
}
|
||||
|
||||
// Set application-wide window icon. All message boxes and other windows will use it by default.
|
||||
qapp->setDesktopFileName(QStringLiteral("org.zealdocs.Zeal.desktop"));
|
||||
qapp->setDesktopFileName(QStringLiteral("org.zealdocs.zeal.desktop"));
|
||||
qapp->setWindowIcon(QIcon::fromTheme(QStringLiteral("zeal"),
|
||||
QIcon(QStringLiteral(":/zeal.ico"))));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user