feat: 初始代码

AM初始代码,迁移自gitlabwh

Log:
Task: https://pms.uniontech.com/task-view-108539.html
Influence:
Change-Id: I6096f97e5d68d13796ff5dc51d9858c0f40264a0
This commit is contained in:
tanfeng
2022-03-30 17:56:27 +08:00
parent 9414feb1f7
commit 0b22bb3adf
54 changed files with 3607 additions and 0 deletions

View File

@ -0,0 +1,6 @@
set(SYSTEMD_FILES
org.deskspec.application.instance@.service
org.deskspec.application.manager.service
)
install(FILES ${SYSTEMD_FILES} DESTINATION lib/systemd/user/)

View File

@ -0,0 +1,8 @@
[Unit]
Description=Deepin Application Loader is managing %I
[Service]
Type=simple
Environment="DAM_TASK_HASH=%I"
Environment="DAM_TASK_TYPE=freedesktop"
ExecStart=/usr/bin/deepin-application-loader

View File

@ -0,0 +1,7 @@
[Unit]
Description=Deepin Application Manager service
[Service]
Type=DBus
BusName=org.deskspec.ApplicationManager
ExecStart=/usr/bin/deepin-application-service