ComixHe
8970298ad0
feat: support set application's working directory
...
Signed-off-by: ComixHe <heyuming@deepin.org>
2023-10-08 14:44:31 +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
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
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
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