19 Commits
Author SHA1 Message Date
abb128 51947c3aa1 Fix null pointer dereference in start_application (#878) 2026-04-17 16:42:22 +02:00
Patrick Nicolas 25a532bc15 Handle Path= argument in .desktop files 2026-01-19 10:40:37 +01:00
Patrick Nicolas 45e0fce476 Add packet to start an application 2025-07-26 20:05:35 +02:00
Patrick Nicolas d3e10dc31b Rewrite child application management
Forked applications are managed by a class, which can track more than
one child.
Systemd mode uses transient units, libsystemd is replaced by
gdbus-codegen, the management objects shares the interface with forked
application.
2025-07-22 20:49:32 +02:00
Patrick Nicolas 2f5496c06e Give application to launch instead of reading conf 2025-07-17 15:28:41 +02:00
Patrick Nicolas 286268d2c6 Start application in transient unit in systemd mode 2025-07-16 22:07:03 +02:00
Patrick Nicolas 11cd9235d9 Allow multiple configuration files
Will merge contents from
@CMAKE_INSTALL_PREFIX@/share/wivrn/config.json
/etc/wivrn/config.json
~/.config/wivrn.config.json (XDG_CONFIG_DIR in fact)

If -f option is provided, just parse that file, don't merge anything
2025-07-06 10:22:25 +02:00
Patrick Nicolas b9752276b7 read DBUS env variables for --systemd mode 2025-06-23 18:30:27 +02:00
Patrick Nicolas 95ab427517 Fix system bus -> session bus 2025-06-23 12:59:36 +02:00
Patrick Nicolas 44635765d7 Add wivrnctl utility 2024-11-26 23:59:35 +01:00
Patrick Nicolas 8400a03fde More accurate flatpak info parser 2024-11-07 19:41:35 +01:00
Patrick Nicolas 7983745317 Attempt flatpak-spawn if permission is granted 2024-11-07 19:41:35 +01:00
Patrick Nicolas 19a399640a Move flatpak utils into common 2024-11-07 19:41:33 +01:00
Sapphire 1428d52727 Fix non-systemd build 2024-10-12 08:48:46 +02:00
Guillaume Meunier 26d271b907 Rework the wizard APK downloading, install directly instead of telling the user to use ADB. Add setting to choose which game to start automatically. 2024-10-10 23:26:09 +02:00
Patrick Nicolas 28284a9694 wivrn namespace: move all server classes 2024-10-03 23:39:32 +02:00
Patrick Nicolas 5f359dc6d7 Fix ifdef WIVRN_USE_SYSTEMD 2024-10-02 23:54:33 +02:00
Patrick Nicolas 1a04104cff Add --systemd command line option
When enabled, will start a new service for client application instead of
forking.
2024-06-27 10:44:02 +02:00
Gavin John ffade1e48a Add systemd hardening options 2024-06-27 10:44:02 +02:00