From 1675e318cc068b5567adde03dbf88e17651c47d2 Mon Sep 17 00:00:00 2001 From: tooomm Date: Wed, 8 Jul 2026 15:54:08 +0200 Subject: [PATCH] Simplify, we only support 64bit, installer prevents wrong installs --- .../src/client/network/update/client/release_channel.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/cockatrice/src/client/network/update/client/release_channel.cpp b/cockatrice/src/client/network/update/client/release_channel.cpp index 42ded9076..5ed276765 100644 --- a/cockatrice/src/client/network/update/client/release_channel.cpp +++ b/cockatrice/src/client/network/update/client/release_channel.cpp @@ -63,10 +63,6 @@ std::optional ReleaseChannel::getTargetVersionForCurrentOS(const QString &f const QRegularExpression ®ex = isIntel ? macIntelRegex : macArmRegex; #elif defined(Q_OS_WIN) -#if Q_PROCESSOR_WORDSIZE != 8 // non 64-bit host - Q_UNUSED(fileName); - return std::nullopt; -#endif static const QRegularExpression regex(R"(Win(?:dows)?(\d+)\.[^.]+$)", QRegularExpression::CaseInsensitiveOption); #else // if the OS doesn't fit one of the above #defines, then it will never match