Commit Graph

391 Commits

Author SHA1 Message Date
ck
b639ab054e fix: crash when desktop file has "Hidden"
xdg 自启动目录下有些desktop文件有 Hidden 字段没有 GenerateSource
导致调用为构造的app(nullptr)

Issue: https://github.com/linuxdeepin/developer-center/issues/8523
2024-05-13 09:49:07 +08:00
wangfei
1c74a0a284 chore: bump version to 1.2.10
release version 1.2.10

Log:
2024-05-11 15:27:30 +08:00
wangfei
fc493458d3 fix: crashed when launching a application contains "%U"
add the condition when the index = -1

Issue: https://github.com/linuxdeepin/developer-center/issues/7964
2024-05-10 15:17:57 +08:00
wangfei
c115eb9e21 fix: revert "crashed when removing a invalid index"
when the name contains a single space, the command parse raises the issue.

Issue: https://github.com/linuxdeepin/developer-center/issues/8498
2024-05-10 15:17:57 +08:00
wangfei
3b5f8498d7 chore: bump version to 1.2.9
release version 1.2.9

Log:
2024-05-10 15:03:19 +08:00
wangfei
47dba7e30c fix: dman display nothing
if parameters are empty, remove "%abc" in command

Issue: https://github.com/linuxdeepin/developer-center/issues/8481
2024-05-09 16:29:14 +08:00
ck
8ffe19ac5a chore: bump version to 1.2.8
release 1.2.8

Log: bump version to 1.2.8
2024-05-09 09:50:58 +08:00
wangfei
a2892b193f fix: crashed when removing a invalid index (-1)
handle the exceptional case that location is -1

Issue: https://github.com/linuxdeepin/developer-center/issues/7964
2024-05-07 15:33:17 +08:00
ck
9a29c0e09a fix: autostart desktop content error
always update autostart application entry

Issue: https://github.com/linuxdeepin/developer-center/issues/8261
2024-05-06 17:43:21 +08:00
zhangkun
93c0373a40 chore: dump version to 1.2.7
Release version 1.2.7

Log:
2024-05-06 13:41:34 +08:00
zhangkun
18720ef75a feat: Add a hook and wrap all applications in the hook script to start
Add a hook to solve the problem of not being able to start some startup scripts for applications without shebang

Log
2024-04-29 14:50:04 +08:00
zhangkun
089cb6155a chore: dump version to 1.2.6
Release version 1.2.6

Log:
2024-04-28 05:41:25 +00:00
zhangkun
2d0659044d feat: Can emit correct remove signal when uninstalling applications patched by deepin-deb-fix
check TryExec when doReloadApplications
add deepin-deb-fix to Suggested dependency
2024-04-26 13:24:48 +08:00
dengbo
37827209e4 chore: bump version to 1.2.5
bump version to 1.2.5

Log: update changelog
2024-04-24 13:42:32 +08:00
ck
9dd7e7f2a1 fix: dde-open file failed
QUrl("/tmp/xxx.png").toLocalFile() is Empty..

Issue: https://github.com/linuxdeepin/developer-center/issues/8142
2024-04-23 16:19:52 +08:00
Yixue Wang
e6fd0a61a5 feat: support apps launched directly by systemd
Do not filter out those not launched by application manager. Assume
unit name as the app id. When Identify, assume there is only one
unique instance.

Log: support apps launched directly by systemd
Related-to: https://github.com/linuxdeepin/developer-center/issues/8088
2024-04-23 14:27:06 +08:00
Yutao Meng
60965359cb fix: Return correct mimetype and default app for directories
Log: Return correct mimetype and default app for directories
2024-04-22 17:05:23 +08:00
zhangkun
63dd8b00e9 chore: bump version to 1.2.4
Log: update changelog
2024-04-19 15:52:54 +08:00
zhangkun
064a8dda75 fix: self start setting failed
incorrect information was set for key:  'X-Deepin-GenerateSource'

Issue: https://github.com/linuxdeepin/developer-center/issues/7637
2024-04-15 09:33:11 +00:00
Ye ShanShan
8851263925 fix: missing package parsed when ReloadApplicaitons
Restart timer to merge directory changed and dpkg hook event.
Reload applications when called from dbus.

issue: https://github.com/linuxdeepin/developer-center/issues/7830
2024-04-15 16:09:44 +08:00
ck
5080e9b5de chore: bump version to 1.2.3
release 1.2.3

Log: bump version to 1.2.3
2024-04-08 17:06:15 +08:00
Ye ShanShan
4a4e8866bd fix: missing splitter for env
Using QStringList's `join` instead of QString's `append`
to package envrionments.
2024-04-08 12:30:31 +08:00
Ye ShanShan
f1031391ea fix: can't write environ to storage
m_environ maybe empty when it is be set more than once.
and the key is already exists in storage.
2024-04-08 12:30:31 +08:00
ComixHe
d541c433bb fix: take GIO env back
Signed-off-by: ComixHe <heyuming@deepin.org>
2024-04-03 13:43:13 +08:00
ck
144461c379 refact: add environ and remove scaleFactor property
- remove scaleFactor property !
- add environ property to set scaleFactor easily
2024-04-03 10:35:58 +08:00
Ye ShanShan
02bebd4ef0 chore: bump version to 1.2.2
update changelog
2024-04-01 13:18:10 +08:00
Ye ShanShan
703a27c1ee feat: add dde-am tool to launch application
add dde-am tool.
2024-03-27 14:26:32 +08:00
ck
b9d92f1254 chore: bump version to 1.2.1
release 1.2.1
2024-03-27 10:35:22 +08:00
ck
b504363b9d chore: use QT_SCALE_FACOTR set scale factor
see https://doc.qt.io/qt-5/highdpi.html
2024-03-21 11:50:58 +08:00
Ye ShanShan
df502f8293 fix: wrong InstalledTime for application
fallback to pre-value when it's valid.
2024-03-18 20:00:21 +08:00
ck
f3134f7609 fix: gtk app scaled size too big
GDK_SCALE 缩放 UI
GDK_DPI_SCALE 缩放字体,

Isuee: https://github.com/linuxdeepin/developer-center/issues/7528
2024-03-18 17:08:13 +08:00
ComixHe
77f927e308 chore: add doc describing the behavior of processing exec key
Signed-off-by: ComixHe <heyuming@deepin.org>
2024-03-13 17:23:30 +08:00
student-ice
a22604f725 chore: update README.md
更新README.md
2024-03-13 09:43:15 +08:00
ComixHe
31ba0334d8 chore: bump version to 1.2.0
Signed-off-by: ComixHe <heyuming@deepin.org>
2024-03-11 16:44:58 +08:00
ComixHe
c9ca203390 fix: incorrect scale factor has been set in qt application which load dxcb platform plugin
issue: https://github.com/linuxdeepin/developer-center/issues/7431

Signed-off-by: ComixHe <heyuming@deepin.org>
2024-03-11 16:44:58 +08:00
ComixHe
d54087bbc2 fix: correct launchoptions
Signed-off-by: ComixHe <heyuming@deepin.org>
2024-03-11 16:44:58 +08:00
ComixHe
1b4fb5551d feat: add GIO_LAUNCHED_DESKTOP_FILE to runtime envs
add hooks for dde-dock

Signed-off-by: ComixHe <heyuming@deepin.org>
2024-03-11 16:44:58 +08:00
ComixHe
3b2674023c fix: the signal is triggered repeatedly
Signed-off-by: ComixHe <heyuming@deepin.org>
2024-03-11 16:44:58 +08:00
ComixHe
676e082b65 refact: remove processguesser1service
BREAKING CHANGE: due to we couldn't guess the most of processes in a
right way, so we remove it.

Signed-off-by: ComixHe <heyuming@deepin.org>
2024-03-11 16:44:58 +08:00
ComixHe
08350e3c80 feat: add property LaunchedTimes
refactor implementation of LastLaunchedTime

Signed-off-by: ComixHe <heyuming@deepin.org>
2024-03-11 16:44:58 +08:00
ComixHe
34c995d992 feat: set systemd.unit's property CollectMode to failed-or-inactive
Signed-off-by: ComixHe <heyuming@deepin.org>
2024-03-11 16:44:58 +08:00
Yixue Wang
f740818e8a chore: correct typo
absoult -> absolute
2024-03-07 16:54:42 +08:00
ComixHe
7bcf75544e chore: bump version to 1.1.9
Signed-off-by: ComixHe <heyuming@deepin.org>
2024-03-05 16:01:32 +08:00
ComixHe
743bdc445e fix: stop reload timer manually
Signed-off-by: ComixHe <heyuming@deepin.org>
2024-03-05 16:01:32 +08:00
ComixHe
47d5cb05fe feat: add filesystem watcher for reloading applications
Signed-off-by: ComixHe <heyuming@deepin.org>
2024-02-21 15:27:13 +08:00
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