Updater: Make it not care about the Qt extension

This commit is contained in:
refractionpcsx2 2023-07-09 23:03:13 +01:00
parent df75d70df4
commit e50f12a925
1 changed files with 1 additions and 8 deletions

View File

@ -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;