ComixHe
aca0531e85
fix: support ExecSearchPath to prevent systemd from not finding binaries
...
In NixOS, maintainer used a patch to modify the DEFAULT_PATH macro of systemd.
However, systemd can only find its own binaries under that path.
At this point, if you take the relative path of the binary as a parameter to StartTransientUnit,
systemd will use DEFAULT_PATH to look for the binary, which will cause systemd to not find it.
There may be other Linux distributions that change this path,
so add ExecSearchPath to prevent systemd from not finding the binary.
Signed-off-by: ComixHe <heyuming@deepin.org>
2024-02-02 17:58:43 +08:00
ComixHe
bcb9d0c3e5
feat: set more scale envs to application
...
Signed-off-by: ComixHe <heyuming@deepin.org>
2024-02-02 17:58:43 +08:00
ComixHe
b5656472ef
feat: Compatible with URL arguments
...
Signed-off-by: ComixHe <heyuming@deepin.org>
2024-01-24 09:58:29 +08:00
ComixHe
6f2da75d7a
fix: correct autostart source
...
Signed-off-by: ComixHe <heyuming@deepin.org>
2024-01-24 09:58:29 +08:00
ComixHe
dd3d7342f9
fix: append env 'scaleFactor' to deepin-wine application
...
Signed-off-by: ComixHe <heyuming@deepin.org>
2024-01-05 18:02:42 +08:00
ComixHe
8e83422603
refact: scanAutostart and get/set autostart
...
Signed-off-by: ComixHe <heyuming@deepin.org>
2024-01-05 18:02:42 +08:00
ComixHe
71b3b0a6c0
feat: replace exec during autostart process
...
create directory of user applciation if dosen't exists
Signed-off-by: ComixHe <heyuming@deepin.org>
2024-01-03 15:15:12 +08:00
ComixHe
2fb5567eaf
fix: update location after insertion
...
Signed-off-by: ComixHe <heyuming@deepin.org>
2023-12-19 02:55:55 +00:00
ComixHe
b75bb395fd
refact: assuming all applications have been launched during AM create
...
storage at first time
issue: https://github.com/linuxdeepin/developer-center/issues/5768
Signed-off-by: ComixHe <heyuming@deepin.org>
2023-11-23 18:16:44 +08:00
ComixHe
3d8b834e3c
refact: add some checks
...
Signed-off-by: ComixHe <heyuming@deepin.org>
2023-11-15 10:39:44 +08:00
ComixHe
b9bbfb7f6d
refact: Autostart
...
Signed-off-by: ComixHe <heyuming@deepin.org>
2023-11-15 10:39:44 +08:00
ComixHe
74931e3d1a
fix: update infos after app was launched
...
Signed-off-by: ComixHe <heyuming@deepin.org>
2023-11-15 10:39:44 +08:00
ComixHe
b813d3d86b
fix: correct property name
...
Signed-off-by: ComixHe <heyuming@deepin.org>
2023-11-06 17:23:28 +08:00
ComixHe
d35ef8ae1f
feat: add property 'X_Deepin_Vender'
...
Signed-off-by: ComixHe <heyuming@deepin.org>
2023-11-06 16:32:58 +08:00
ComixHe
ff5f2062c3
fix: add necessary check before take execArgs
...
Signed-off-by: ComixHe <heyuming@deepin.org>
2023-11-06 13:21:43 +08:00
ComixHe
a929bed0b2
fix: detected error 'stack-use-after-scope'
...
Signed-off-by: ComixHe <heyuming@deepin.org>
2023-10-25 17:54:55 +08:00
ComixHe
8f6628c5d2
feat: add ProcessGuesser1 service
...
Signed-off-by: ComixHe <heyuming@deepin.org>
2023-10-19 15:33:12 +08:00
ComixHe
f796535233
fix: unescape exec before pass this arg to wordexp
...
Signed-off-by: ComixHe <heyuming@deepin.org>
2023-10-19 15:16:40 +08:00
ComixHe
1f73eea404
feat: add desktopfilegenerator and method addUserApplication
...
1. change type of ActionName to 'a{sa{ss}}'
2. refactor the method of serialization
Signed-off-by: ComixHe <heyuming@deepin.org>
2023-10-17 11:44:02 +08:00
ComixHe
aff8cff0ec
refact: change underlying type of desktop entry
...
Signed-off-by: ComixHe <heyuming@deepin.org>
2023-10-13 10:08:56 +08:00
ComixHe
de1bf515d8
feat: add Terminal and ScaleFactor property
...
Signed-off-by: ComixHe <heyuming@deepin.org>
2023-10-11 17:24:08 +08:00
ComixHe
f63741b023
feat: add mimeManager Service
...
Signed-off-by: ComixHe <heyuming@deepin.org>
2023-10-08 18:33:35 +08:00
ComixHe
fb0fc0a8ee
feat: support application hooks
...
Signed-off-by: ComixHe <heyuming@deepin.org>
2023-10-07 17:14:48 +08:00
ComixHe
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
ComixHe
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
ComixHe
b2b5c23a2b
feat: send PropertiesChanged after reset Application's entry
...
Signed-off-by: ComixHe <heyuming@deepin.org>
2023-09-15 13:56:32 +08:00
ComixHe
51459ee33a
feat: relay InstanceService PropertiesChanged signal
...
Signed-off-by: ComixHe <heyuming@deepin.org>
2023-09-14 18:02:53 +08:00
ComixHe
6448481cfc
refact: method Identify and CURD method of storage
...
Signed-off-by: ComixHe <heyuming@deepin.org>
2023-09-14 17:41:16 +08:00
ComixHe
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
ComixHe
23dcd13f10
feat: support persistent stroage and lastLaunchedTime
...
Signed-off-by: ComixHe <heyuming@deepin.org>
2023-09-14 17:41:16 +08:00
ComixHe
dc96c21c7d
feat: emit signal when AutoStart Changed
...
Signed-off-by: ComixHe <heyuming@deepin.org>
2023-09-08 08:53:46 +00:00
ComixHe
ac71f99bc6
fix: Compatible with previous DEEPIN_WINE_SCALE handling
...
Signed-off-by: ComixHe <heyuming@deepin.org>
2023-09-07 17:17:59 +08:00
ComixHe
55e3aa2fae
feat: add property 'NoDisplay'
...
Signed-off-by: ComixHe <heyuming@deepin.org>
2023-09-07 13:04:24 +08:00
ComixHe
2c1f35b820
fix: remove filed codes '%f'
...
Signed-off-by: ComixHe <heyuming@deepin.org>
2023-09-07 10:41:00 +08:00
ComixHe
6561747c7d
refact: Compatible with Qt 6.2
...
Signed-off-by: ComixHe <heyuming@deepin.org>
2023-09-06 17:01:06 +08:00
ComixHe
7fa60d9b3d
fix: application filter error
...
Signed-off-by: ComixHe <heyuming@deepin.org>
2023-09-06 16:26:38 +08:00
ComixHe
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
ComixHe
ebe218b70e
fix: AM crashed when Launch failed
...
Signed-off-by: ComixHe <heyuming@deepin.org>
2023-09-06 10:59:58 +08:00
ComixHe
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
ComixHe
acba7b727e
feat: support AutoStart
...
Signed-off-by: ComixHe <heyuming@deepin.org>
2023-09-05 11:48:14 +08:00
ComixHe
30a03974f3
refact: refactor ApplicationService::Launch method
...
Signed-off-by: ComixHe <heyuming@deepin.org>
2023-09-04 16:33:43 +08:00
ComixHe
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
ComixHe
94f7b3c01d
fix: correct property check logic
...
Signed-off-by: ComixHe <heyuming@deepin.org>
2023-09-01 17:15:40 +08:00
ComixHe
ca24d2d908
feat: add method SendToDesktop/RemoveFromDesktop, Property isOnDesktop
...
Signed-off-by: ComixHe <heyuming@deepin.org>
2023-09-01 17:15:40 +08:00
black-desk
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
ComixHe
c99a1b5d6a
fix: correct action key
...
Signed-off-by: ComixHe <heyuming@deepin.org>
2023-08-31 16:55:35 +08:00
ComixHe
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
ComixHe
8ab6adc290
feat: add categories for application service
...
Signed-off-by: ComixHe <heyuming@deepin.org>
2023-08-30 16:08:59 +08:00
ComixHe
64454bd149
refact!: change property IconName
to Icons
...
Signed-off-by: ComixHe <heyuming@deepin.org>
2023-08-29 13:34:27 +08:00
ComixHe
8a662314f2
fix: core dumped under Qt 6.4
...
call method metaObject of QMetaType will coredump under Qt 6.4
Signed-off-by: ComixHe <heyuming@deepin.org>
2023-08-29 10:07:26 +08:00