mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-09 09:33:57 -07:00
Merge b1d4638bce into 6c960fdf31
This commit is contained in:
commit
d99ca017e9
5 changed files with 174 additions and 182 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