Better support for SourceForge (#1352)

This commit is contained in:
Imran Remtulla
2024-01-28 16:32:58 -05:00
parent badf32ff11
commit 27d8655d58
2 changed files with 72 additions and 23 deletions

View File

@@ -829,8 +829,9 @@ class SourceProvider {
APKDetails apk =
await source.getLatestAPKDetails(standardUrl, additionalSettings);
if (source.runtimeType != HTML().runtimeType) {
// HTML does it separately
if (source.runtimeType !=
HTML().runtimeType && // Some sources do it separately
source.runtimeType != SourceForge().runtimeType) {
String? extractedVersion = extractVersion(
additionalSettings['versionExtractionRegEx'] as String?,
additionalSettings['matchGroupToUse'] as String?,