Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Donald Haase
Cockatrice
Commits
ff6f2839
Unverified
Commit
ff6f2839
authored
May 09, 2021
by
ebbit1q
Committed by
GitHub
May 08, 2021
Browse files
fix macos update logic (#4337)
parent
e034de90
Changes
1
Hide whitespace changes
Inline
Side-by-side
cockatrice/src/releasechannel.cpp
View file @
ff6f2839
...
...
@@ -57,7 +57,7 @@ bool ReleaseChannel::downloadMatchesCurrentOS(const QString &fileName)
int
sys_min
=
QSysInfo
::
productVersion
().
split
(
"."
)[
1
].
toInt
();
int
rel_maj
=
match
.
captured
(
1
).
toInt
();
int
rel_min
=
match
.
captured
(
2
).
toInt
();
return
rel_maj
<
sys_maj
||
(
rel_maj
==
sys_maj
&&
rel_min
<=
rel
_min
);
return
rel_maj
<
sys_maj
||
(
rel_maj
==
sys_maj
&&
rel_min
<=
sys
_min
);
}
#elif defined(Q_OS_WIN)
bool
ReleaseChannel
::
downloadMatchesCurrentOS
(
const
QString
&
fileName
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment