aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2024-12-31 10:36:02 +0100
committerdec05eba <dec05eba@protonmail.com>2024-12-31 10:36:02 +0100
commit9084ef746cdf1aff19b3512f400411d731a8b8c1 (patch)
tree22431b7596e222aef2b03c47526270dcce741a02
parent8ea53d0360aeabe74d58da297ac7eb6cee1eac3b (diff)
Appdata: fix streaming not working in the new UI
-rw-r--r--com.dec05eba.gpu_screen_recorder.appdata.xml8
-rw-r--r--src/main.cpp2
2 files changed, 9 insertions, 1 deletions
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".
</p>
<p>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.</p>
+ <p>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.</p>
</description>
<launchable type="desktop-id">com.dec05eba.gpu_screen_recorder.desktop</launchable>
@@ -91,6 +92,13 @@
</screenshots>
<releases>
+ <release version="5.0.2" date="2024-12-31">
+ <description>
+ <ul>
+ <li>Fix streaming not working in the new UI</li>
+ </ul>
+ </description>
+ </release>
<release version="5.0.1" date="2024-12-30">
<description>
<ul>
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;
}