Flatpak improvement: add command to add xdg autostart, add startup command string

This commit is contained in:
dec05eba
2026-03-27 02:45:07 +01:00
parent 8e35de9e8b
commit b927cb7f21
8 changed files with 24 additions and 14 deletions

View File

@@ -269,7 +269,7 @@ namespace gsr {
const bool is_flatpak = getenv("FLATPAK_ID") != nullptr;
const char *exec_line = is_flatpak
? "Exec=flatpak run com.dec05eba.gpu_screen_recorder gsr-ui launch-daemon"
? "Exec=flatpak run com.dec05eba.gpu_screen_recorder gsr-ui"
: "Exec=gsr-ui launch-daemon";
std::string content =