mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-06 21:43:55 -07:00
Merge b467849e01 into baddbfae14
This commit is contained in:
commit
62c8ec0d46
5 changed files with 173 additions and 181 deletions
|
|
@ -79,9 +79,9 @@ bool ReleaseChannel::downloadMatchesCurrentOS(const QString &fileName)
|
|||
#elif Q_PROCESSOR_WORDSIZE == 8
|
||||
const QString &version = QSysInfo::productVersion();
|
||||
if (version.startsWith("7") || version.startsWith("8")) {
|
||||
return fileName.contains("Win7");
|
||||
return fileName.contains("Win7") || fileName.contains("Windows7");
|
||||
} else {
|
||||
return fileName.contains("Win10");
|
||||
return fileName.contains("Win10") || fileName.contains("Windows10");
|
||||
}
|
||||
#else
|
||||
Q_UNUSED(fileName);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue