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
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
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
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
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
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
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
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
d541c433bb
fix: take GIO env back
...
Signed-off-by: ComixHe <heyuming@deepin.org >
2024-04-03 13:43:13 +08:00
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
703a27c1ee
feat: add dde-am tool to launch application
...
add dde-am tool.
2024-03-27 14:26:32 +08:00
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
df502f8293
fix: wrong InstalledTime for application
...
fallback to pre-value when it's valid.
2024-03-18 20:00:21 +08:00
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
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
d54087bbc2
fix: correct launchoptions
...
Signed-off-by: ComixHe <heyuming@deepin.org >
2024-03-11 16:44:58 +08:00
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
3b2674023c
fix: the signal is triggered repeatedly
...
Signed-off-by: ComixHe <heyuming@deepin.org >
2024-03-11 16:44:58 +08:00
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
08350e3c80
feat: add property LaunchedTimes
...
refactor implementation of LastLaunchedTime
Signed-off-by: ComixHe <heyuming@deepin.org >
2024-03-11 16:44:58 +08:00
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
743bdc445e
fix: stop reload timer manually
...
Signed-off-by: ComixHe <heyuming@deepin.org >
2024-03-05 16:01:32 +08:00
47d5cb05fe
feat: add filesystem watcher for reloading applications
...
Signed-off-by: ComixHe <heyuming@deepin.org >
2024-02-21 15:27:13 +08:00
16d8e21598
feat: add app-identifier for convenient
...
Signed-off-by: ComixHe <heyuming@deepin.org >
2024-02-21 15:27:13 +08:00
9d2cee79fe
refact: suppress warnings and standardize project
...
Signed-off-by: ComixHe <heyuming@deepin.org >
2024-02-20 11:45:45 +08:00
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
bcb9d0c3e5
feat: set more scale envs to application
...
Signed-off-by: ComixHe <heyuming@deepin.org >
2024-02-02 17:58:43 +08:00
b5656472ef
feat: Compatible with URL arguments
...
Signed-off-by: ComixHe <heyuming@deepin.org >
2024-01-24 09:58:29 +08:00
6f2da75d7a
fix: correct autostart source
...
Signed-off-by: ComixHe <heyuming@deepin.org >
2024-01-24 09:58:29 +08:00
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
dd3d7342f9
fix: append env 'scaleFactor' to deepin-wine application
...
Signed-off-by: ComixHe <heyuming@deepin.org >
2024-01-05 18:02:42 +08:00
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
8e83422603
refact: scanAutostart and get/set autostart
...
Signed-off-by: ComixHe <heyuming@deepin.org >
2024-01-05 18:02:42 +08:00
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
2fb5567eaf
fix: update location after insertion
...
Signed-off-by: ComixHe <heyuming@deepin.org >
2023-12-19 02:55:55 +00:00
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
2cc63722e7
fix: incorrect behavior of processguesser1service
...
Signed-off-by: ComixHe <heyuming@deepin.org >
2023-11-16 15:33:11 +08:00
5f08edbc74
fix: prevent invalid unitName cause AM crashed.
...
Signed-off-by: ComixHe <heyuming@deepin.org >
2023-11-16 15:33:11 +08:00
3d8b834e3c
refact: add some checks
...
Signed-off-by: ComixHe <heyuming@deepin.org >
2023-11-15 10:39:44 +08:00
b9bbfb7f6d
refact: Autostart
...
Signed-off-by: ComixHe <heyuming@deepin.org >
2023-11-15 10:39:44 +08:00
74931e3d1a
fix: update infos after app was launched
...
Signed-off-by: ComixHe <heyuming@deepin.org >
2023-11-15 10:39:44 +08:00
b813d3d86b
fix: correct property name
...
Signed-off-by: ComixHe <heyuming@deepin.org >
2023-11-06 17:23:28 +08:00
d35ef8ae1f
feat: add property 'X_Deepin_Vender'
...
Signed-off-by: ComixHe <heyuming@deepin.org >
2023-11-06 16:32:58 +08:00
e61c8ae17a
fix: add checks before reading from value
...
Signed-off-by: ComixHe <heyuming@deepin.org >
2023-11-06 13:21:43 +08:00
ff5f2062c3
fix: add necessary check before take execArgs
...
Signed-off-by: ComixHe <heyuming@deepin.org >
2023-11-06 13:21:43 +08:00
03deb2c935
feat: add Method "KillAll"
...
Signed-off-by: ComixHe <heyuming@deepin.org >
2023-11-05 23:38:29 +08:00
dd3cbd6a6e
fix: complete dbus out args
...
Signed-off-by: ComixHe <heyuming@deepin.org >
2023-10-30 17:45:55 +08:00
054feb9739
fix: add fallback when query mime type
...
Signed-off-by: ComixHe <heyuming@deepin.org >
2023-10-30 16:24:34 +08:00
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
a929bed0b2
fix: detected error 'stack-use-after-scope'
...
Signed-off-by: ComixHe <heyuming@deepin.org >
2023-10-25 17:54:55 +08:00