mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-09-27 08:24:39 -07:00
Simplify, we only support 64bit, installer prevents wrong installs
This commit is contained in:
parent
3ad7bae16d
commit
1675e318cc
1 changed files with 0 additions and 4 deletions
|
|
@ -63,10 +63,6 @@ std::optional<int> ReleaseChannel::getTargetVersionForCurrentOS(const QString &f
|
||||||
const QRegularExpression ®ex = isIntel ? macIntelRegex : macArmRegex;
|
const QRegularExpression ®ex = isIntel ? macIntelRegex : macArmRegex;
|
||||||
|
|
||||||
#elif defined(Q_OS_WIN)
|
#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);
|
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
|
#else // if the OS doesn't fit one of the above #defines, then it will never match
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue