Replace flatpak/native autostart with the current gsr-ui type when launching gsr-ui, for users that switch between them

This commit is contained in:
dec05eba
2026-03-27 02:18:06 +01:00
parent 5f3ace0c47
commit 13984f8636
4 changed files with 35 additions and 13 deletions

View File

@@ -41,6 +41,7 @@ namespace gsr {
bool is_xdg_autostart_enabled();
// Returns 0 on success
int set_xdg_autostart(bool enable);
void replace_xdg_autostart_with_current_gsr_type();
// Systemd user service helpers
bool is_systemd_service_enabled(const char *service_name);