mirror of
https://github.com/geode-sdk/geode.git
synced 2024-11-27 01:45:35 -05:00
dont auto-update major versions
This commit is contained in:
parent
287816a17c
commit
8551071ac9
1 changed files with 5 additions and 0 deletions
|
@ -604,6 +604,11 @@ void Loader::Impl::checkForLoaderUpdates() {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// don't auto-update major versions
|
||||||
|
if (ver.getMajor() > this->getVersion().getMajor()) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
// find release asset
|
// find release asset
|
||||||
for (auto asset : root.needs("assets").iterate()) {
|
for (auto asset : root.needs("assets").iterate()) {
|
||||||
auto obj = asset.obj();
|
auto obj = asset.obj();
|
||||||
|
|
Loading…
Reference in a new issue