File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -52,6 +52,11 @@ void updater::fetchLatestGithubRelease(
52
52
return then (s_latestGithubRelease.value ());
53
53
}
54
54
55
+ // quick hack to make sure it always attempts an update check in forward compat
56
+ if (Loader::get ()->isForwardCompatMode ()) {
57
+ force = true ;
58
+ }
59
+
55
60
auto version = VersionInfo::parse (
56
61
Mod::get ()->getSavedValue (" latest-version-auto-update-check" , std::string (" 0.0.0" ))
57
62
);
@@ -374,8 +379,8 @@ void updater::checkForLoaderUpdates() {
374
379
return ;
375
380
}
376
381
377
- // don't auto-update major versions
378
- if (ver.getMajor () > Loader::get ()->getVersion ().getMajor ()) {
382
+ // don't auto-update major versions when not on forward compat
383
+ if (! Loader::get ()-> isForwardCompatMode () && ver.getMajor () > Loader::get ()->getVersion ().getMajor ()) {
379
384
return ;
380
385
}
381
386
You can’t perform that action at this time.
0 commit comments