diff options
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp index 9c8636a..fe8f5c5 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1541,7 +1541,7 @@ static bool is_pkexec_installed() { } static bool flatpak_is_installed_as_system(void) { - return system("flatpak run --system --command=pwd com.dec05eba.gpu_screen_recorder") == 0; + return system("flatpak-spawn --host flatpak run --system --command=pwd com.dec05eba.gpu_screen_recorder") == 0; } typedef gboolean (*KeyPressHandler)(GtkButton *button, gpointer userdata); |