Skip to content

Commit

Permalink
Follow freedesktop spec for .desktop file
Browse files Browse the repository at this point in the history
  • Loading branch information
stefonarch committed Jul 15, 2023
1 parent 7ae2339 commit 2374a4c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,8 @@ lxqt_translate_desktop(DESKTOP_FILES
# End of translations
#-----------------------------------------------------------------------------

# Follow freedesktop specifications
set(DNS_DESKTOP_FILENAME "org.lxqt_project.Qps.desktop")

add_executable(${PROJECT_NAME}
${SOURCES}
Expand All @@ -82,5 +84,5 @@ target_link_libraries(${PROJECT_NAME}
install(TARGETS ${PROJECT_NAME} RUNTIME DESTINATION ${CMAKE_INSTALL_FULL_BINDIR})
install(FILES
${DESKTOP_FILES}
DESTINATION "${CMAKE_INSTALL_DATAROOTDIR}/applications"
DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/applications RENAME ${DNS_DESKTOP_FILENAME}
)

0 comments on commit 2374a4c

Please sign in to comment.