添加dbus-service文件

This commit is contained in:
hewenfei 2023-03-31 09:48:11 +08:00
parent 4d7e7225e0
commit afabcfd593
2 changed files with 5 additions and 0 deletions

View File

@ -117,6 +117,7 @@ set(QRC_FILES qml/qml.qrc res/res.qrc)
set(DESKTOP_FILE data/ukui-menu.desktop) set(DESKTOP_FILE data/ukui-menu.desktop)
set(GSETTING_FILE data/org.ukui.menu.settings.gschema.xml) set(GSETTING_FILE data/org.ukui.menu.settings.gschema.xml)
set(GLOBAL_CONFIG_FILE data/ukui-menu-global-config.conf) set(GLOBAL_CONFIG_FILE data/ukui-menu-global-config.conf)
set(DBUS_SERVICE_FILE data/org.ukui.menu.service)
# data files # data files
#set(DATA_FILES data/xxx) #set(DATA_FILES data/xxx)
# extension # extension
@ -160,4 +161,5 @@ install(FILES ${QM_FILES} DESTINATION "${UKUI_MENU_TRANSLATION_DIR}")
install(FILES ${DESKTOP_FILE} DESTINATION "/etc/xdg/autostart") install(FILES ${DESKTOP_FILE} DESTINATION "/etc/xdg/autostart")
install(FILES ${GSETTING_FILE} DESTINATION "/usr/share/glib-2.0/schemas") install(FILES ${GSETTING_FILE} DESTINATION "/usr/share/glib-2.0/schemas")
install(FILES ${GLOBAL_CONFIG_FILE} DESTINATION "${UKUI_MENU_DATA_DIR}") install(FILES ${GLOBAL_CONFIG_FILE} DESTINATION "${UKUI_MENU_DATA_DIR}")
install(FILES ${DBUS_SERVICE_FILE} DESTINATION "/usr/share/dbus-1/services/")
#install(FILES ${EXTENSION_IFACE_QML_FILES} DESTINATION "${UKUI_MENU_EXTENSION_IFACE_QML_DIR}") #install(FILES ${EXTENSION_IFACE_QML_FILES} DESTINATION "${UKUI_MENU_EXTENSION_IFACE_QML_DIR}")

View File

@ -0,0 +1,3 @@
[D-BUS Service]
Name=org.ukui.menu
Exec=/usr/bin/ukui-menu