dont auto-update major versions

This commit is contained in:
HJfod 2023-01-24 14:12:54 +02:00
parent 287816a17c
commit 8551071ac9

View file

@ -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();