mirror of
https://github.com/geode-sdk/geode.git
synced 2024-11-26 17:36:05 -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;
|
||||
}
|
||||
|
||||
// don't auto-update major versions
|
||||
if (ver.getMajor() > this->getVersion().getMajor()) {
|
||||
return;
|
||||
}
|
||||
|
||||
// find release asset
|
||||
for (auto asset : root.needs("assets").iterate()) {
|
||||
auto obj = asset.obj();
|
||||
|
|
Loading…
Reference in a new issue