From e50f12a9258a542009d9ef0e4bb4f7024ffc8f03 Mon Sep 17 00:00:00 2001 From: refractionpcsx2 Date: Sun, 9 Jul 2023 23:03:13 +0100 Subject: [PATCH] Updater: Make it not care about the Qt extension --- pcsx2-qt/AutoUpdaterDialog.cpp | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/pcsx2-qt/AutoUpdaterDialog.cpp b/pcsx2-qt/AutoUpdaterDialog.cpp index 8076ee28da..c772a709d6 100644 --- a/pcsx2-qt/AutoUpdaterDialog.cpp +++ b/pcsx2-qt/AutoUpdaterDialog.cpp @@ -224,7 +224,6 @@ void AutoUpdaterDialog::getLatestReleaseComplete(QNetworkReply* reply) bool is_symbols = false; bool is_avx2 = false; bool is_sse4 = false; - bool is_qt_asset = false; bool is_perfect_match = false; for (const QJsonValue& additional_tag : additional_tags_array) { @@ -235,12 +234,6 @@ void AutoUpdaterDialog::getLatestReleaseComplete(QNetworkReply* reply) is_symbols = true; break; } - else if (additional_tag_str.startsWith(QStringLiteral("Qt"))) - { - // found a qt build - // Note: The website improperly parses macOS file names, and gives them the tag "Qt.tar" instead of "Qt" - is_qt_asset = true; - } else if (additional_tag_str == QStringLiteral("SSE4")) { is_sse4 = true; @@ -258,7 +251,7 @@ void AutoUpdaterDialog::getLatestReleaseComplete(QNetworkReply* reply) #endif } - if (!is_qt_asset || is_symbols || (!x86caps.hasAVX2 && is_avx2)) + if (is_symbols || (!x86caps.hasAVX2 && is_avx2)) { // skip this asset continue;