Revert "Change name of flatpak systemd service"

This reverts commit b865f5cae3.
This commit is contained in:
dec05eba
2024-12-29 19:34:37 +01:00
parent b865f5cae3
commit 9dd20e2916
4 changed files with 41 additions and 20 deletions

View File

@@ -17,5 +17,9 @@ namespace gsr {
pid_t exec_program(const char **args, int *read_fd);
// Arguments ending with NULL. Returns the exit status of the program or -1 on error
int exec_program_get_stdout(const char **args, std::string &result);
// Arguments ending with NULL. Returns the exit status of the program or -1 on error.
// This works the same as |exec_program_get_stdout|, except on flatpak where this runs the program on the
// host machine with flatpak-spawn --host
int exec_program_on_host_get_stdout(const char **args, std::string &result);
pid_t pidof(const char *process_name);
}