You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if ("twrp-keep".equals(localModuleInfo.id)) continue;
137
139
// exclude all modules with id's stored in the pref pref_background_update_check_excludes
138
140
try {
139
-
if (Objects.requireNonNull(MainApplication.getSharedPreferences("mmm").getStringSet("pref_background_update_check_excludes", null)).contains(localModuleInfo.id))
141
+
if (Objects.requireNonNull(MainApplication.getSharedPreferences("mmm").getStringSet("pref_background_update_check_excludes", newHashSet<>())).contains(localModuleInfo.id))
140
142
continue;
141
143
} catch (Exceptionignored) {
142
144
}
145
+
// now, we just had to make it more fucking complicated, didn't we?
146
+
// we now have pref_background_update_check_excludes_version, which is a id:version stringset of versions the user may want to "skip"
147
+
// oh, and because i hate myself, i made ^ at the beginning match that version and newer, and $ at the end match that version and older
Copy file name to clipboardExpand all lines: app/src/main/res/values/strings.xml
+5Lines changed: 5 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -418,4 +418,9 @@
418
418
<stringname="setup_scroll_down_v2">To enable the finish button, scroll to the bottom and acknowledge you have read and agree to the EULA and license(s).</string>
419
419
<stringname="notification_update_ignore_version_desc">Ignore specific versions when checking for module updates. Disabling update checks per-module above overrides this setting!</string>
420
420
<stringname="notification_update_ignore_version_pref">Exclude version(s) from update checks</string>
421
+
<stringname="background_update_check_excludes_version">Exclude version(s) of modules from checks</string>
422
+
<stringname="background_update_check_excludes_version_summary">Specify versions of modules you\'d like to ignore. Version code or version name will work, but version code may be more accurate. Use ^ at the beginning to match that version and newer. Use $ at the end to match up until that version.</string>
0 commit comments