Make the appdb dbus autostart.Install the desktop file of app-data-service.

This commit is contained in:
JunjieBai 2022-08-08 10:37:49 +08:00
parent 64eb691ca4
commit 4628054547
2 changed files with 12 additions and 4 deletions

View File

@ -0,0 +1,3 @@
[D-BUS Service]
Name=com.ukui.search.appdb.service
Exec=/usr/bin/ukui-search-app-data-service

View File

@ -29,20 +29,25 @@ SOURCES += \
main.cpp \ main.cpp \
convert-winid-to-desktop.cpp \ convert-winid-to-desktop.cpp \
app-db-manager.cpp \ app-db-manager.cpp \
pending-app-info-queue.cpp \ pending-app-info-queue.cpp \
signal-transformer.cpp \ signal-transformer.cpp \
ukui-search-app-data-service.cpp \ ukui-search-app-data-service.cpp \
HEADERS += \ HEADERS += \
convert-winid-to-desktop.h \ convert-winid-to-desktop.h \
app-db-manager.h \ app-db-manager.h \
pending-app-info-queue.h \ pending-app-info-queue.h \
pending-app-info.h \ pending-app-info.h \
signal-transformer.h \ signal-transformer.h \
ukui-search-app-data-service.h \ ukui-search-app-data-service.h \
inst1.files += conf/com.ukui.search.appdb.service
inst1.path = /usr/share/dbus-1/services/
target.path = /usr/bin target.path = /usr/bin
INSTALLS += target INSTALLS += \
target \
inst1
desktop.path = /etc/xdg/autostart desktop.path = /etc/xdg/autostart
desktop.files += ../data/ukui-search-app-data-service.desktop desktop.files += ../data/ukui-search-app-data-service.desktop