mirror of
https://github.com/ImranR98/Obtainium.git
synced 2025-07-13 13:26:43 +02:00
Make GitHub's (and Codeberg's) "fallback" work with the APK filter (#1236)
This commit is contained in:
@ -346,6 +346,11 @@ class GitHub extends AppSource {
|
||||
continue;
|
||||
}
|
||||
var apkUrls = getReleaseAPKUrls(releases[i]);
|
||||
if (additionalSettings['apkFilterRegEx'] != null) {
|
||||
var reg = RegExp(additionalSettings['apkFilterRegEx']);
|
||||
apkUrls =
|
||||
apkUrls.where((element) => reg.hasMatch(element.key)).toList();
|
||||
}
|
||||
if (apkUrls.isEmpty && additionalSettings['trackOnly'] != true) {
|
||||
continue;
|
||||
}
|
||||
|
Reference in New Issue
Block a user