Commit Graph

274 Commits

Author SHA1 Message Date
fb0fc0a8ee feat: support application hooks
Signed-off-by: ComixHe <heyuming@deepin.org>
2023-10-07 17:14:48 +08:00
f233279466 fix: remove displayName and export name/genericName
issue: https://github.com/linuxdeepin/developer-center/issues/5765

Signed-off-by: ComixHe <heyuming@deepin.org>
2023-09-28 16:30:56 +08:00
2b5fc291d4 fix: should't move singelSlot
add some comment

Signed-off-by: ComixHe <heyuming@deepin.org>
2023-09-19 16:22:10 +08:00
bbe0551ffb fix: launch autostart application after scaleFactor has been set
Signed-off-by: ComixHe <heyuming@deepin.org>
2023-09-19 13:17:25 +08:00
7d94a8b71d fix: relink to autostart when dekstopFile has been changed
Signed-off-by: ComixHe <heyuming@deepin.org>
2023-09-15 15:02:19 +08:00
b2b5c23a2b feat: send PropertiesChanged after reset Application's entry
Signed-off-by: ComixHe <heyuming@deepin.org>
2023-09-15 13:56:32 +08:00
51459ee33a feat: relay InstanceService PropertiesChanged signal
Signed-off-by: ComixHe <heyuming@deepin.org>
2023-09-14 18:02:53 +08:00
6448481cfc refact: method Identify and CURD method of storage
Signed-off-by: ComixHe <heyuming@deepin.org>
2023-09-14 17:41:16 +08:00
ebb5f613c4 refact: refactor method Identify and improve unit test
Signed-off-by: ComixHe <heyuming@deepin.org>
2023-09-14 17:41:16 +08:00
bc7fbfb3a1 feat: add property Launcher, Orphaned
refactor some method which are related with systemd unit

Signed-off-by: ComixHe <heyuming@deepin.org>
2023-09-14 17:41:16 +08:00
23dcd13f10 feat: support persistent stroage and lastLaunchedTime
Signed-off-by: ComixHe <heyuming@deepin.org>
2023-09-14 17:41:16 +08:00
7b527c609b refact: use standard DBus interface
Signed-off-by: ComixHe <heyuming@deepin.org>
2023-09-12 10:59:40 +08:00
6a95a97599 refact: use graphical-session.target's InvocationID to determine
autostart

Signed-off-by: ComixHe <heyuming@deepin.org>
2023-09-12 10:59:40 +08:00
6368bf61cf fix: correct signal index
Signed-off-by: ComixHe <heyuming@deepin.org>
2023-09-11 18:04:57 +08:00
49c13f943e feat: support cgroup v1 and v2
Signed-off-by: ComixHe <heyuming@deepin.org>
2023-09-11 15:15:54 +08:00
98ef11dc27 refact: guarantee XDG_CONFIG_HOME is first element
and ensure that config dirs only has an XDG_CONFIG_HOME

Signed-off-by: ComixHe <heyuming@deepin.org>
2023-09-11 15:15:54 +08:00
3f38233306 refact: use QFileInfo to get File's timeInfo
Signed-off-by: ComixHe <heyuming@deepin.org>
2023-09-11 15:15:54 +08:00
dc96c21c7d feat: emit signal when AutoStart Changed
Signed-off-by: ComixHe <heyuming@deepin.org>
2023-09-08 08:53:46 +00:00
ac71f99bc6 fix: Compatible with previous DEEPIN_WINE_SCALE handling
Signed-off-by: ComixHe <heyuming@deepin.org>
2023-09-07 17:17:59 +08:00
55e3aa2fae feat: add property 'NoDisplay'
Signed-off-by: ComixHe <heyuming@deepin.org>
2023-09-07 13:04:24 +08:00
2c1f35b820 fix: remove filed codes '%f'
Signed-off-by: ComixHe <heyuming@deepin.org>
2023-09-07 10:41:00 +08:00
1776fa95d5 fix: interfaceRemoved isn't be emit after application uninstall
Signed-off-by: ComixHe <heyuming@deepin.org>
2023-09-07 10:41:00 +08:00
6561747c7d refact: Compatible with Qt 6.2
Signed-off-by: ComixHe <heyuming@deepin.org>
2023-09-06 17:01:06 +08:00
cc4c928dc1 feat: connect to system bus signal for monitor application changed
for dpkg

Signed-off-by: ComixHe <heyuming@deepin.org>
2023-09-06 16:26:38 +08:00
7fa60d9b3d fix: application filter error
Signed-off-by: ComixHe <heyuming@deepin.org>
2023-09-06 16:26:38 +08:00
8d033daf6b fix: Manual removal of symbolic links leads to state error
Signed-off-by: ComixHe <heyuming@deepin.org>
2023-09-06 13:57:18 +08:00
4d6e399653 refact: method UpdateApplicationInfo change to ReloadApplications
Signed-off-by: ComixHe <heyuming@deepin.org>
2023-09-06 13:57:18 +08:00
ebe218b70e fix: AM crashed when Launch failed
Signed-off-by: ComixHe <heyuming@deepin.org>
2023-09-06 10:59:58 +08:00
897db2c85a feat: filter some application which shouldn't be shown
Signed-off-by: ComixHe <heyuming@deepin.org>
2023-09-06 10:59:58 +08:00
4ff60db556 refact: improve scanAutoStart
improve scanAutoStart
2023-09-05 11:48:14 +08:00
7d0c5bb615 refact: remove IconMap
remove unused types
2023-09-05 11:48:14 +08:00
acba7b727e feat: support AutoStart
Signed-off-by: ComixHe <heyuming@deepin.org>
2023-09-05 11:48:14 +08:00
30a03974f3 refact: refactor ApplicationService::Launch method
Signed-off-by: ComixHe <heyuming@deepin.org>
2023-09-04 16:33:43 +08:00
68996388b1 fix: AM crashed when call update method but application can't found
Signed-off-by: ComixHe <heyuming@deepin.org>
2023-09-04 16:33:43 +08:00
70c7b92e0e refact: return dbus error when application service's method failed
Signed-off-by: ComixHe <heyuming@deepin.org>
2023-09-04 16:33:43 +08:00
94f7b3c01d fix: correct property check logic
Signed-off-by: ComixHe <heyuming@deepin.org>
2023-09-01 17:15:40 +08:00
ca24d2d908 feat: add method SendToDesktop/RemoveFromDesktop, Property isOnDesktop
Signed-off-by: ComixHe <heyuming@deepin.org>
2023-09-01 17:15:40 +08:00
40babe8aae refact!: change DBus Service Name and ObjectPath Name
Signed-off-by: ComixHe <heyuming@deepin.org>
2023-09-01 17:15:40 +08:00
4c9d4491df refact: remove unnecessary open operation
fix AM can't access some dirs due to
systemd 254's sandboxing option: PrivateUser
is true by default.

Signed-off-by: ComixHe <heyuming@deepin.org>
2023-09-01 15:58:16 +08:00
d1bdab899d feat: add property installedTime,X-flatpak,X-linglong
Signed-off-by: black-desk <me@black-desk.cn>
2023-08-31 16:55:35 +08:00
c99a1b5d6a fix: correct action key
Signed-off-by: ComixHe <heyuming@deepin.org>
2023-08-31 16:55:35 +08:00
1fb4539792 feat: add env option and refactor command generate method
Signed-off-by: ComixHe <heyuming@deepin.org>
2023-08-31 15:54:40 +08:00
8ab6adc290 feat: add categories for application service
Signed-off-by: ComixHe <heyuming@deepin.org>
2023-08-30 16:08:59 +08:00
3df26e4fc2 build: DDE_DEBUG_MODE->USE_DEBUG_DBUS_NAME
Signed-off-by: black-desk <me@black-desk.cn>
2023-08-30 15:02:29 +08:00
f2d5b7b307 refact: remove static env instance
Signed-off-by: ComixHe <heyuming@deepin.org>
2023-08-30 15:02:29 +08:00
d00cd17f2e refact: change DEBUG_MODE to DDE_DEBUG_MODE
Signed-off-by: ComixHe <heyuming@deepin.org>
2023-08-29 15:20:25 +08:00
64454bd149 refact!: change property IconName to Icons
Signed-off-by: ComixHe <heyuming@deepin.org>
2023-08-29 13:34:27 +08:00
26a0b67157 feat: filter service and scope by subState and app prefix
Signed-off-by: ComixHe <heyuming@deepin.org>
2023-08-29 13:07:44 +08:00
b0dd943e1d fix: adjust processUnitName
`<2` should be fine to make later two takeLast work fine and avoid crash.

It seems that `<3` will
make kde scope (without launcher in unit name) not working.
2023-08-29 10:19:32 +08:00
6adc02375f feat: scan existing systemd unit
We should scan existing systemd unit when we start application manager.
As application manager crash and restarted later,
we can get the launched application instances back.
2023-08-29 10:07:26 +08:00