aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--com.dec05eba.gpu_screen_recorder.desktop (renamed from gpu-screen-recorder-gtk.desktop)0
-rw-r--r--meson.build2
-rw-r--r--src/main.cpp2
3 files changed, 2 insertions, 2 deletions
diff --git a/gpu-screen-recorder-gtk.desktop b/com.dec05eba.gpu_screen_recorder.desktop
index 0a83558..0a83558 100644
--- a/gpu-screen-recorder-gtk.desktop
+++ b/com.dec05eba.gpu_screen_recorder.desktop
diff --git a/meson.build b/meson.build
index 5851485..c762460 100644
--- a/meson.build
+++ b/meson.build
@@ -23,7 +23,7 @@ executable('gpu-screen-recorder-gtk', src, dependencies : dep, install : true)
prefix = get_option('prefix')
datadir = get_option('datadir')
-install_data(files('gpu-screen-recorder-gtk.desktop'), install_dir : join_paths(prefix, datadir, 'applications'))
+install_data(files('com.dec05eba.gpu_screen_recorder.desktop'), install_dir : join_paths(prefix, datadir, 'applications'))
install_data(files('com.dec05eba.gpu_screen_recorder.appdata.xml'), install_dir : join_paths(prefix, datadir, 'metainfo'))
install_subdir('icons/hicolor', install_dir : join_paths(prefix, datadir, 'icons'))
diff --git a/src/main.cpp b/src/main.cpp
index a86f254..90c642e 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -2456,7 +2456,7 @@ static void parse_gpu_info_line(GsrInfo *gsr_info, const std::string &line) {
const StringView attribute_name = {line.c_str(), space_index};
const StringView attribute_value = {line.c_str() + space_index + 1, line.size() - (space_index + 1)};
- if(attribute_name == "gpu") {
+ if(attribute_name == "vendor") {
if(attribute_value == "amd")
gsr_info->gpu_info.vendor = GpuVendor::AMD;
else if(attribute_value == "intel")