ComixHe
e6cd2c5df1
chore: relase 1.1.0
...
Signed-off-by: ComixHe <heyuming@deepin.org>
2023-10-19 18:18:26 +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
f63741b023
feat: add mimeManager Service
...
Signed-off-by: ComixHe <heyuming@deepin.org>
2023-10-08 18:33:35 +08:00
ComixHe
8970298ad0
feat: support set application's working directory
...
Signed-off-by: ComixHe <heyuming@deepin.org>
2023-10-08 14:44:31 +08:00
rewine
efb1212945
feat(cmake): all install path use GNUInstallDirs
...
Log: all install path use GNUInstallDirs
2023-09-19 13:18:45 +08:00
ComixHe
ebb5f613c4
refact: refactor method Identify
and improve unit test
...
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
4ffe4bf1a8
chore: incorrect service location
...
Signed-off-by: ComixHe <heyuming@deepin.org>
2023-09-06 16:26:38 +08:00
ComixHe
3a9973c772
refact: improve method of launcher helper append variant value
...
Signed-off-by: ComixHe <heyuming@deepin.org>
2023-09-06 10:59:58 +08:00
ComixHe
94db47a015
feat: add app-update-notifier
...
Signed-off-by: ComixHe <heyuming@deepin.org>
2023-09-06 10:59:58 +08:00
black-desk
7d0c5bb615
refact: remove IconMap
...
remove unused types
2023-09-05 11:48:14 +08:00
ComixHe
0896f845a6
chore: Avoiding binary conflicts with existing AM
...
Signed-off-by: ComixHe <heyuming@deepin.org>
2023-08-30 15:02:29 +08:00
black-desk
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
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
black-desk
25a7acb6fd
Revert "fix: core dumped under Qt 6.4"
...
Github bug makes me commit wrong content, revert it.
This reverts commit 6fae5a758b
.
2023-08-29 10:06:57 +08:00
ComixHe
6fae5a758b
fix: core dumped under Qt 6.4
...
1. call method metaObject of QMetaType will coredump under Qt 6.4
2. remove `std::terminate()` when AM can't connect to Systemd Signals.
3. call `Subscribe` before connecting to Systemd Signals to guarantee that
systemd will send UnitNew and UnitRemoved.
Signed-off-by: ComixHe <heyuming@deepin.org>
2023-08-29 09:58:02 +08:00
ComixHe
ccfb245419
refact: Desktop file parsing process and Application methods to
...
Properties
Signed-off-by: ComixHe <heyuming@deepin.org>
2023-08-25 18:23:21 +08:00
ComixHe
9f2a8b6798
feat: add property "LastLaunchedTime"
...
1. reactor some utils implementation.
2. remove constexpr before `decltype(auto)` due to GCC bug.
refer: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102229
Signed-off-by: ComixHe <heyuming@deepin.org>
2023-08-23 17:46:57 +08:00
ComixHe
2bdb9e99ee
refact: optimize regular expression initialization
...
add profiling test.
Signed-off-by: ComixHe <heyuming@deepin.org>
2023-08-22 11:42:13 +08:00
black-desk
65b6c9eaf0
fix(launchHelper): set ExitType to cgroup
...
ExitType defaults to `main`, which means systemd will kill all processes
in the application cgroup when the "main" process exited.
This default behavior make applications like vscode which will always
daemonlize itself killed immediately by systemd, so we should set this
property to `cgroup` instead.
refer to https://www.freedesktop.org/software/systemd/man/systemd.service.html#ExitType=
Signed-off-by: black-desk <me@black-desk.cn>
2023-08-22 11:42:13 +08:00
ComixHe
920594d6e5
refact: ApplicationService ctor and some member functions
...
Signed-off-by: ComixHe <heyuming@deepin.org>
2023-08-22 11:42:13 +08:00
ComixHe
d49a99d252
feat: add objectManager interface
...
refact the way to get DBus interface from Qt Meta System
Signed-off-by: ComixHe <heyuming@deepin.org>
2023-08-22 11:42:13 +08:00
ComixHe
a3dd315e33
test: add identify test
...
fix some bugs found in testing
Signed-off-by: ComixHe <heyuming@deepin.org>
2023-08-16 17:54:42 +08:00
ComixHe
2fa74e40e5
refact: change implementation of UpdateApplicationInfo
...
adjust the way of get XDG_DATA_DIRS.
Signed-off-by: ComixHe <heyuming@deepin.org>
Signed-off-by: black-desk <me@black-desk.cn>
2023-08-14 13:39:05 +08:00
black-desk
5183716873
refact: apply review suggestions
...
Signed-off-by: black-desk <me@black-desk.cn>
2023-08-14 13:39:05 +08:00
ComixHe
bc2bdf559e
example: add launch application example
...
fix some bug while testing the example
Signed-off-by: ComixHe <heyuming@deepin.org>
Signed-off-by: black-desk <me@black-desk.cn>
2023-08-14 13:39:05 +08:00
ComixHe
722d0666d3
feat: add impl of updateApplicationInfo
...
1. change the way to traverse files
2. refact some code
Signed-off-by: ComixHe <heyuming@deepin.org>
Signed-off-by: black-desk <me@black-desk.cn>
2023-08-14 13:39:05 +08:00
ComixHe
799100436c
feat: watch systemd unit new and remove to sync state
...
add default values to XDG_DATA_DIRS if it dosen't set
Signed-off-by: ComixHe <heyuming@deepin.org>
Signed-off-by: black-desk <me@black-desk.cn>
2023-08-14 13:39:05 +08:00
black-desk
4687265e65
refact: restructure project
...
1. adjust project structure;
2. use config.h to locate app-launch-helper binary.
2023-08-07 16:46:57 +08:00