Make fixed APK URL support (HTML) default (#1101)

This commit is contained in:
Imran Remtulla
2023-11-24 18:15:04 -05:00
parent 15bf972ef6
commit 93036c4e67
18 changed files with 22 additions and 19 deletions

View File

@ -95,7 +95,10 @@ class HTML extends AppSource {
label: tr('sortByFileNamesNotLinks'))
],
[GeneratedFormSwitch('reverseSort', label: tr('reverseSort'))],
[GeneratedFormSwitch('fixedAPKURL', label: tr('fixedAPKURL'))],
[
GeneratedFormSwitch('supportFixedAPKURL',
defaultValue: true, label: tr('supportFixedAPKURL')),
],
[
GeneratedFormTextField('customLinkFilterRegex',
label: tr('customLinkFilterRegex'),
@ -225,7 +228,7 @@ class HTML extends AppSource {
}
var rel = links.last;
String? version;
if (additionalSettings['fixedAPKURL'] != true) {
if (additionalSettings['supportFixedAPKURL'] != true) {
version = rel.hashCode.toString();
}
var versionExtractionRegEx =