From 4831e8847d7b76b3d95c65409abd3bd9d8e399fc Mon Sep 17 00:00:00 2001 From: Patrick Nicolas Date: Sat, 24 Jan 2026 15:14:16 +0100 Subject: [PATCH 1/3] case insensitive comparison for vdf files --- common/utils/steam_app_info.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/common/utils/steam_app_info.cpp b/common/utils/steam_app_info.cpp index dad88c98..56a12ed7 100644 --- a/common/utils/steam_app_info.cpp +++ b/common/utils/steam_app_info.cpp @@ -164,9 +164,9 @@ std::unordered_map wivrn::read_steam_icons(std::fil } void on_string(const std::string & key, std::string && val) { - if (key == "clienticon") + if (strcasecmp(key.c_str(), "clienticon") == 0) current.clienticon = std::move(val); - else if (key == "linuxclienticon") + else if (strcasecmp(key.c_str(), "linuxclienticon") == 0) current.linuxclienticon = std::move(val); } void on_uint32_t(const std::string & key, uint32_t val) @@ -250,9 +250,9 @@ std::vector wivrn::read_steam_shortcuts(std::filesystem:: { if (depth == 1) { - if (key == "AppName") + if (strcasecmp(key.c_str(), "AppName") == 0) current.name = std::move(val); - else if (key == "icon") + else if (strcasecmp(key.c_str(), "icon") == 0) current.icon = std::move(val); } } @@ -260,9 +260,9 @@ std::vector wivrn::read_steam_shortcuts(std::filesystem:: { if (depth == 1) { - if (key == "appid") + if (strcasecmp(key.c_str(), "appid") == 0) current.appid = val; - if (key == "OpenVR") + else if (strcasecmp(key.c_str(), "OpenVR") == 0) VR = val; } } From cd614c2361cb35ae55e39162ab8f64fdb09b43d4 Mon Sep 17 00:00:00 2001 From: Patrick Nicolas Date: Sat, 24 Jan 2026 15:20:32 +0100 Subject: [PATCH 2/3] Fix error for shortcuts with no icon --- common/utils/steam_app_info.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/utils/steam_app_info.cpp b/common/utils/steam_app_info.cpp index 56a12ed7..df1a68ed 100644 --- a/common/utils/steam_app_info.cpp +++ b/common/utils/steam_app_info.cpp @@ -252,7 +252,7 @@ std::vector wivrn::read_steam_shortcuts(std::filesystem:: { if (strcasecmp(key.c_str(), "AppName") == 0) current.name = std::move(val); - else if (strcasecmp(key.c_str(), "icon") == 0) + else if (strcasecmp(key.c_str(), "icon") == 0 and not val.empty()) current.icon = std::move(val); } } From 6fcc19d198acc668e235cb0e153449bca67e5f43 Mon Sep 17 00:00:00 2001 From: Patrick Nicolas Date: Sat, 24 Jan 2026 21:50:48 +0100 Subject: [PATCH 3/3] Fix version for debian package in CI --- tools/gen_debian_changelog.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tools/gen_debian_changelog.py b/tools/gen_debian_changelog.py index 30a72059..57aa1683 100755 --- a/tools/gen_debian_changelog.py +++ b/tools/gen_debian_changelog.py @@ -52,7 +52,10 @@ def main(): if args.nightly: version = subprocess.check_output(["git", "describe", "--tags", "--always"]).decode().strip() - version = version[1:] # remove the initial "v" + if version[0] == 'v': + version = version[1:] # remove the initial "v" + else: + version = '0-' + version write_entry( out=args.out, version=version,