diff options
author | dec05eba <dec05eba@protonmail.com> | 2025-01-25 00:23:55 +0100 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2025-01-25 00:23:55 +0100 |
commit | f1e4e32c35843a5ec3b8176d3bf65540aa124122 (patch) | |
tree | 64d7cf71d349d4178c1e3943f0126825c7b19835 | |
parent | 04aa90e45bcf8d7689291dfc8300b4a1ddcb7b40 (diff) |
5.1.05.1.0
-rw-r--r-- | com.dec05eba.gpu_screen_recorder.appdata.xml | 9 | ||||
-rw-r--r-- | meson.build | 2 | ||||
-rw-r--r-- | project.conf | 2 | ||||
-rw-r--r-- | src/main.cpp | 6 |
4 files changed, 14 insertions, 5 deletions
diff --git a/com.dec05eba.gpu_screen_recorder.appdata.xml b/com.dec05eba.gpu_screen_recorder.appdata.xml index 1c6f796..a44f26c 100644 --- a/com.dec05eba.gpu_screen_recorder.appdata.xml +++ b/com.dec05eba.gpu_screen_recorder.appdata.xml @@ -93,6 +93,15 @@ </screenshots> <releases> + <release version="5.1.0" date="2025-01-24"> + <description> + <ul> + <li>Make hotkeys configurable, fix hotkey keyboard layout issues and add option to save replay with (ps4) controller</li> + <li>Make notification smoother on wayland and other wayland fixes</li> + <li>Improve startup time (fixes key getting grabbed for too long)</li> + </ul> + </description> + </release> <release version="5.0.10" date="2025-01-18"> <description> <ul> diff --git a/meson.build b/meson.build index 849ca4e..7a13183 100644 --- a/meson.build +++ b/meson.build @@ -1,4 +1,4 @@ -project('gpu-screen-recorder-gtk', ['c', 'cpp'], version : '5.0.10', default_options : ['warning_level=2']) +project('gpu-screen-recorder-gtk', ['c', 'cpp'], version : '5.1.0', default_options : ['warning_level=2']) add_project_arguments('-Wshadow', language : ['c', 'cpp']) if get_option('buildtype') == 'debug' diff --git a/project.conf b/project.conf index ac6b698..1f73d9b 100644 --- a/project.conf +++ b/project.conf @@ -1,7 +1,7 @@ [package] name = "gpu-screen-recorder-gtk" type = "executable" -version = "5.0.10" +version = "5.1.0" platforms = ["posix"] [config] diff --git a/src/main.cpp b/src/main.cpp index 6ccd3a9..f515e2f 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -20,7 +20,7 @@ extern "C" { #include <vector> #include <libayatana-appindicator/app-indicator.h> -#define GSR_CURRENT_GLOBAL_HOTKEYS_CODE_VERSION 3 +#define GSR_CURRENT_GLOBAL_HOTKEYS_CODE_VERSION 4 #ifndef GSR_VERSION #define GSR_VERSION "unknown" @@ -2765,7 +2765,6 @@ static gboolean on_click_switch_to_new_ui(GtkButton*, gpointer) { GtkWidget *dialog = gtk_message_dialog_new_with_markup(GTK_WINDOW(window), GTK_DIALOG_MODAL, GTK_MESSAGE_QUESTION, GTK_BUTTONS_YES_NO, "You are about to try out the new UI, which is a ShadowPlay-like fullscreen UI. It runs in the background and you have to show/hide it by pressing Left Alt+Z.\n" "This new UI is still experimental and you may experience issues depending on your system. You can switch back to the old UI at any time by opening the UI and clicking on the settings button and clicking on the \"Go back to the old UI\" button.\n" - "Note that at the moment the flatpak version of the software assumes you are using a keyboard with qwerty layout. If you are using another keyboard layout then instead of pressing Left Alt+Z you have to press the key that has been switched the with Z key.\n" "\n" "This new UI comes with new features, such as being able to automatically launch it on system startup by enabling it in settings, and hotkey support on any Wayland compositor.\n" "\n" @@ -2816,7 +2815,8 @@ static gboolean on_click_switch_to_new_ui(GtkButton*, gpointer) { "data_home=$(flatpak-spawn --host -- /bin/sh -c 'echo \"${XDG_DATA_HOME:-$HOME/.local/share}\"') && " "flatpak-spawn --host -- install -Dm644 /var/lib/flatpak/app/com.dec05eba.gpu_screen_recorder/current/active/files/share/gpu-screen-recorder/gpu-screen-recorder-ui.service \"$data_home/systemd/user/gpu-screen-recorder-ui.service\"") == 0); service_install_successful &= (system("flatpak-spawn --host -- systemctl --user daemon-reload") == 0); - service_install_successful &= (system("flatpak-spawn --host -- systemctl enable --now --user gpu-screen-recorder-ui") == 0); + service_install_successful &= (system("flatpak-spawn --host -- systemctl enable --user gpu-screen-recorder-ui") == 0); + service_install_successful &= (system("flatpak-spawn --host -- systemctl start --user gpu-screen-recorder-ui") == 0); if(!service_install_successful) { GtkWidget *dialog = gtk_message_dialog_new(GTK_WINDOW(window), GTK_DIALOG_MODAL, GTK_MESSAGE_WARNING, GTK_BUTTONS_OK, "Failed to add GPU Screen Recorder to system startup. If you want the new UI to start on system startup then you need to add this command to system startup:\n" |