From 9084ef746cdf1aff19b3512f400411d731a8b8c1 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Tue, 31 Dec 2024 10:36:02 +0100 Subject: Appdata: fix streaming not working in the new UI --- com.dec05eba.gpu_screen_recorder.appdata.xml | 8 ++++++++ src/main.cpp | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/com.dec05eba.gpu_screen_recorder.appdata.xml b/com.dec05eba.gpu_screen_recorder.appdata.xml index 73c93aa..7b27f70 100644 --- a/com.dec05eba.gpu_screen_recorder.appdata.xml +++ b/com.dec05eba.gpu_screen_recorder.appdata.xml @@ -64,6 +64,7 @@ You can find which NVIDIA driver version is running on your system by running "cat /proc/driver/nvidia/version".

GPU Screen Recorder flatpak can install files in $HOME/.local/share/gpu-screen-recorder. If you want to uninstall GPU Screen Recorder then you will have to remove this directory manually.

+

If you tried out the new UI then a systemd service was added to /usr/lib/systemd/user/gpu-screen-recorder-ui.service. If you want to uninstall GPU Screen Recorder then you will have to remove this file.

com.dec05eba.gpu_screen_recorder.desktop @@ -91,6 +92,13 @@ + + +
    +
  • Fix streaming not working in the new UI
  • +
+
+
    diff --git a/src/main.cpp b/src/main.cpp index 6b06ddb..c22634d 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -2806,7 +2806,7 @@ static gboolean on_click_switch_to_new_ui(GtkButton*, gpointer) { if(!service_install_successful) launch_gsr_ui(true); - exit(0); + g_application_quit(G_APPLICATION(select_window_userdata.app)); return true; } -- cgit v1.2.3