aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2024-12-29 19:15:55 +0100
committerdec05eba <dec05eba@protonmail.com>2024-12-29 19:15:55 +0100
commita311b416b31d4e6179a461a1fa1715a8ffae064f (patch)
tree009071eaa79f6cbea1270ceeb4ed5a4c9d7da2f8
parentf169d4b9b6907c010c26f64e572bbf978f010001 (diff)
Run kms-server-proxy on host
-rw-r--r--src/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 402b0a2..b44bb0d 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -2778,7 +2778,7 @@ static gboolean on_click_switch_to_new_ui(GtkButton*, gpointer) {
return true;
}
- int exit_code = system("kms-server-proxy setup-gsr-ui");
+ int exit_code = system("flatpak-spawn --host -- /var/lib/flatpak/app/com.dec05eba.gpu_screen_recorder/current/active/files/bin/kms-server-proxy setup-gsr-ui");
if(exit_code != 0) {
GtkWidget *dialog = gtk_message_dialog_new(GTK_WINDOW(window), GTK_DIALOG_MODAL, GTK_MESSAGE_ERROR, GTK_BUTTONS_OK,
"Failed to setup the new UI. You either cancelled the installation or you don't have pkexec installed and a polkit agent running.");