From b55096544bcb85dac380531cc293c840daa5edc9 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Thu, 23 Jan 2025 23:56:19 +0100 Subject: Add version to --info output --- meson.build | 2 +- project.conf | 2 +- src/main.cpp | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/meson.build b/meson.build index bb71c47..286e557 100644 --- a/meson.build +++ b/meson.build @@ -1,4 +1,4 @@ -project('gpu-screen-recorder', ['c', 'cpp'], version : '5.0.1', default_options : ['warning_level=2']) +project('gpu-screen-recorder', ['c', 'cpp'], version : '5.0.2', 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 874aa15..5abba27 100644 --- a/project.conf +++ b/project.conf @@ -1,7 +1,7 @@ [package] name = "gpu-screen-recorder" type = "executable" -version = "5.0.1" +version = "5.0.2" platforms = ["posix"] [config] diff --git a/src/main.cpp b/src/main.cpp index 751a258..d97341d 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -2154,6 +2154,7 @@ static void info_command() { puts("is_steam_deck|yes"); else puts("is_steam_deck|no"); + printf("gsr_version|%s\n", GSR_VERSION); puts("section=gpu_info"); list_gpu_info(&egl); puts("section=video_codecs"); -- cgit v1.2.3