From fdc57c457c078540a1ea636c5d5280f3397cef33 Mon Sep 17 00:00:00 2001 From: Marco Allegretti Date: Mon, 23 Mar 2026 13:04:21 +0100 Subject: [PATCH] Scope VDF key lookup to top-level fields and update Steam CDN URL --- src/steamimporter.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/steamimporter.cpp b/src/steamimporter.cpp index 65a39a3..2a0dca8 100644 --- a/src/steamimporter.cpp +++ b/src/steamimporter.cpp @@ -110,7 +110,7 @@ Game *SteamImporter::parseAppManifest(const QString &path) // Simple VDF parser auto getValue = [&content](const QString &key) -> QString { - QRegularExpression regex(QStringLiteral("\"%1\"\\s+\"([^\"]+)\"").arg(key)); + QRegularExpression regex(QStringLiteral("\\t\"%1\"\\s+\"([^\"]+)\"").arg(key)); QRegularExpressionMatch match = regex.match(content); return match.hasMatch() ? match.captured(1) : QString(); }; @@ -233,7 +233,7 @@ QUrl SteamImporter::findCoverImage(const QString &appId) const } // Return Steam CDN URL as fallback - return QUrl(QStringLiteral("https://steamcdn-a.akamaihd.net/steam/apps/%1/library_600x900_2x.jpg").arg(appId)); + return QUrl(QStringLiteral("https://cdn.cloudflare.steamstatic.com/steam/apps/%1/library_600x900_2x.jpg").arg(appId)); } QList SteamImporter::importGames()