Commit Graph

346 Commits

Author SHA1 Message Date
ComixHe
16d8e21598 feat: add app-identifier for convenient
Signed-off-by: ComixHe <heyuming@deepin.org>
2024-02-21 15:27:13 +08:00
ComixHe
9d2cee79fe refact: suppress warnings and standardize project
Signed-off-by: ComixHe <heyuming@deepin.org>
2024-02-20 11:45:45 +08:00
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
1a92fc1745 chore: bump version to 1.1.8
Signed-off-by: ComixHe <heyuming@deepin.org>
2024-01-25 10:47: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
95019a38f4 refact: unit test for Job
Signed-off-by: ComixHe <heyuming@deepin.org>
2024-01-19 09:47:30 +08:00
Felix Yan
4b660a6c86 chore: update debian/control
Improves wording.
2024-01-12 17:32:55 +08:00
ComixHe
a7c7811f21 chore: bump version to 1.1.7
Signed-off-by: ComixHe <heyuming@deepin.org>
2024-01-11 10:42:35 +08:00
ComixHe
9833dd24eb fix: create user's mimeapp when it doesn't exists
issue: https://github.com/linuxdeepin/developer-center/issues/6794

Signed-off-by: ComixHe <heyuming@deepin.org>
2024-01-11 10:42:35 +08:00
ComixHe
75c333366a chore: bump version to 1.1.6
Signed-off-by: ComixHe <heyuming@deepin.org>
2024-01-05 18:02:42 +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
810d5b996a fix: call scanMimeInfo and scanAutostart when reloadApplications
issue: https://github.com/linuxdeepin/developer-center/issues/6702

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
5c75836fd2 chore: bump version to 1.1.5
Signed-off-by: ComixHe <heyuming@deepin.org>
2024-01-03 15:15:12 +08:00
ComixHe
073a9a8dee chore: update debian/control
Signed-off-by: ComixHe <heyuming@deepin.org>
2024-01-03 15:15:12 +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
6bfbd63c01 chore: bump version to 1.1.4
Signed-off-by: ComixHe <heyuming@deepin.org>
2023-11-22 09:51:10 +08:00
ComixHe
0096b9f789 chore: bump version to 1.1.3
Signed-off-by: ComixHe <heyuming@deepin.org>
2023-11-16 17:50:34 +08:00
ComixHe
2cc63722e7 fix: incorrect behavior of processguesser1service
Signed-off-by: ComixHe <heyuming@deepin.org>
2023-11-16 15:33:11 +08:00
ComixHe
5f08edbc74 fix: prevent invalid unitName cause AM crashed.
Signed-off-by: ComixHe <heyuming@deepin.org>
2023-11-16 15:33:11 +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
733c9103b3 chore: bump version to 1.1.2
Signed-off-by: ComixHe <heyuming@deepin.org>
2023-11-08 16:47:37 +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
e61c8ae17a fix: add checks before reading from value
Signed-off-by: ComixHe <heyuming@deepin.org>
2023-11-06 13:21:43 +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
03deb2c935 feat: add Method "KillAll"
Signed-off-by: ComixHe <heyuming@deepin.org>
2023-11-05 23:38:29 +08:00
ComixHe
a330ad8f2b chore: release 1.1.1
Signed-off-by: ComixHe <heyuming@deepin.org>
2023-11-03 13:26:38 +08:00
ComixHe
4c4ad68284 feat: package api file
Signed-off-by: ComixHe <heyuming@deepin.org>
2023-11-03 13:26:38 +08:00
ComixHe
dd3cbd6a6e fix: complete dbus out args
Signed-off-by: ComixHe <heyuming@deepin.org>
2023-10-30 17:45:55 +08:00
ComixHe
054feb9739 fix: add fallback when query mime type
Signed-off-by: ComixHe <heyuming@deepin.org>
2023-10-30 16:24:34 +08:00
ComixHe
1fe387b5a3 refact: support query default application of a file or a mime type
Signed-off-by: ComixHe <heyuming@deepin.org>
2023-10-30 16:21:19 +08:00
ComixHe
5e8c53479d chore: correct package name
Signed-off-by: ComixHe <heyuming@deepin.org>
2023-10-30 13:15:04 +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
e6cd2c5df1 chore: relase 1.1.0
Signed-off-by: ComixHe <heyuming@deepin.org>
2023-10-19 18:18:26 +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
5597ba5c44 fix: compatible with gcc 11
Signed-off-by: ComixHe <heyuming@deepin.org>
2023-10-18 13:59:27 +08:00
black-desk
fc5184bab4 fix: include QStringBuilder and improve api doc
log:
2023-10-17 11:44:02 +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
black-desk
b71ceb5fc1 build: using gtest_discover_tests
improve unit test
2023-10-13 10:08:56 +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