mirror of
				https://github.com/ImranR98/Obtainium.git
				synced 2025-10-31 13:33:28 +01:00 
			
		
		
		
	Make fixed APK URL support (HTML) default (#1101)
This commit is contained in:
		| @@ -275,7 +275,7 @@ | |||||||
|     "completeAppInstallationNotifChannel": "Dovršite instalaciju aplikacije", |     "completeAppInstallationNotifChannel": "Dovršite instalaciju aplikacije", | ||||||
|     "checkingForUpdatesNotifChannel": "Tražim moguće nadogradnje", |     "checkingForUpdatesNotifChannel": "Tražim moguće nadogradnje", | ||||||
|     "onlyCheckInstalledOrTrackOnlyApps": "Only check installed and Track-Only apps for updates", |     "onlyCheckInstalledOrTrackOnlyApps": "Only check installed and Track-Only apps for updates", | ||||||
|     "fixedAPKURL": "APK URL is fixed", |     "supportFixedAPKURL": "Support fixed APK URLs", | ||||||
|     "selectX": "Select {}", |     "selectX": "Select {}", | ||||||
|     "removeAppQuestion": { |     "removeAppQuestion": { | ||||||
|         "one": "Želite li ukloniti aplikaciju?", |         "one": "Želite li ukloniti aplikaciju?", | ||||||
|   | |||||||
| @@ -275,7 +275,7 @@ | |||||||
|     "completeAppInstallationNotifChannel": "Dokončit instalaci aplikace", |     "completeAppInstallationNotifChannel": "Dokončit instalaci aplikace", | ||||||
|     "checkingForUpdatesNotifChannel": "Zkontrolovat aktualizace", |     "checkingForUpdatesNotifChannel": "Zkontrolovat aktualizace", | ||||||
|     "onlyCheckInstalledOrTrackOnlyApps": "Only check installed and Track-Only apps for updates", |     "onlyCheckInstalledOrTrackOnlyApps": "Only check installed and Track-Only apps for updates", | ||||||
|     "fixedAPKURL": "APK URL is fixed", |     "supportFixedAPKURL": "Support fixed APK URLs", | ||||||
|     "selectX": "Select {}", |     "selectX": "Select {}", | ||||||
|     "removeAppQuestion": { |     "removeAppQuestion": { | ||||||
|         "one": "Odstranit Apku?", |         "one": "Odstranit Apku?", | ||||||
|   | |||||||
| @@ -275,7 +275,7 @@ | |||||||
|     "completeAppInstallationNotifChannel": "App Installation abschließen", |     "completeAppInstallationNotifChannel": "App Installation abschließen", | ||||||
|     "checkingForUpdatesNotifChannel": "Nach Aktualisierungen suchen", |     "checkingForUpdatesNotifChannel": "Nach Aktualisierungen suchen", | ||||||
|     "onlyCheckInstalledOrTrackOnlyApps": "Überprüfe nur installierte und mit „nur Nachverfolgen“ markierte Apps nach Aktualisierungen", |     "onlyCheckInstalledOrTrackOnlyApps": "Überprüfe nur installierte und mit „nur Nachverfolgen“ markierte Apps nach Aktualisierungen", | ||||||
|     "fixedAPKURL": "APK URL is fixed", |     "supportFixedAPKURL": "Support fixed APK URLs", | ||||||
|     "selectX": "Select {}", |     "selectX": "Select {}", | ||||||
|     "removeAppQuestion": { |     "removeAppQuestion": { | ||||||
|         "one": "App entfernen?", |         "one": "App entfernen?", | ||||||
|   | |||||||
| @@ -275,7 +275,7 @@ | |||||||
|     "completeAppInstallationNotifChannel": "Complete App Installation", |     "completeAppInstallationNotifChannel": "Complete App Installation", | ||||||
|     "checkingForUpdatesNotifChannel": "Checking for Updates", |     "checkingForUpdatesNotifChannel": "Checking for Updates", | ||||||
|     "onlyCheckInstalledOrTrackOnlyApps": "Only check installed and Track-Only apps for updates", |     "onlyCheckInstalledOrTrackOnlyApps": "Only check installed and Track-Only apps for updates", | ||||||
|     "fixedAPKURL": "APK URL is fixed", |     "supportFixedAPKURL": "Support fixed APK URLs", | ||||||
|     "selectX": "Select {}", |     "selectX": "Select {}", | ||||||
|     "removeAppQuestion": { |     "removeAppQuestion": { | ||||||
|         "one": "Remove App?", |         "one": "Remove App?", | ||||||
|   | |||||||
| @@ -275,7 +275,7 @@ | |||||||
|     "completeAppInstallationNotifChannel": "Instalación Completa de la Aplicación", |     "completeAppInstallationNotifChannel": "Instalación Completa de la Aplicación", | ||||||
|     "checkingForUpdatesNotifChannel": "Buscando Actualizaciones", |     "checkingForUpdatesNotifChannel": "Buscando Actualizaciones", | ||||||
|     "onlyCheckInstalledOrTrackOnlyApps": "Only check installed and Track-Only apps for updates", |     "onlyCheckInstalledOrTrackOnlyApps": "Only check installed and Track-Only apps for updates", | ||||||
|     "fixedAPKURL": "APK URL is fixed", |     "supportFixedAPKURL": "Support fixed APK URLs", | ||||||
|     "selectX": "Select {}", |     "selectX": "Select {}", | ||||||
|     "removeAppQuestion": { |     "removeAppQuestion": { | ||||||
|         "one": "¿Eliminar Aplicación?", |         "one": "¿Eliminar Aplicación?", | ||||||
|   | |||||||
| @@ -275,7 +275,7 @@ | |||||||
|     "completeAppInstallationNotifChannel": "نصب کامل برنامه", |     "completeAppInstallationNotifChannel": "نصب کامل برنامه", | ||||||
|     "checkingForUpdatesNotifChannel": "بررسی بهروزرسانیها", |     "checkingForUpdatesNotifChannel": "بررسی بهروزرسانیها", | ||||||
|     "onlyCheckInstalledOrTrackOnlyApps": "Only check installed and Track-Only apps for updates", |     "onlyCheckInstalledOrTrackOnlyApps": "Only check installed and Track-Only apps for updates", | ||||||
|     "fixedAPKURL": "APK URL is fixed", |     "supportFixedAPKURL": "Support fixed APK URLs", | ||||||
|     "selectX": "Select {}", |     "selectX": "Select {}", | ||||||
|     "removeAppQuestion": { |     "removeAppQuestion": { | ||||||
|         "one": "برنامه حذف شود؟", |         "one": "برنامه حذف شود؟", | ||||||
|   | |||||||
| @@ -275,7 +275,7 @@ | |||||||
|     "completeAppInstallationNotifChannel": "Installation complète de l'application", |     "completeAppInstallationNotifChannel": "Installation complète de l'application", | ||||||
|     "checkingForUpdatesNotifChannel": "Vérification des mises à jour", |     "checkingForUpdatesNotifChannel": "Vérification des mises à jour", | ||||||
|     "onlyCheckInstalledOrTrackOnlyApps": "Only check installed and Track-Only apps for updates", |     "onlyCheckInstalledOrTrackOnlyApps": "Only check installed and Track-Only apps for updates", | ||||||
|     "fixedAPKURL": "APK URL is fixed", |     "supportFixedAPKURL": "Support fixed APK URLs", | ||||||
|     "selectX": "Select {}", |     "selectX": "Select {}", | ||||||
|     "removeAppQuestion": { |     "removeAppQuestion": { | ||||||
|         "one": "Supprimer l'application ?", |         "one": "Supprimer l'application ?", | ||||||
|   | |||||||
| @@ -275,7 +275,7 @@ | |||||||
|     "completeAppInstallationNotifChannel": "Teljes app telepítés", |     "completeAppInstallationNotifChannel": "Teljes app telepítés", | ||||||
|     "checkingForUpdatesNotifChannel": "Frissítések keresése", |     "checkingForUpdatesNotifChannel": "Frissítések keresése", | ||||||
|     "onlyCheckInstalledOrTrackOnlyApps": "Csak a telepített és a csak követhető appokat ellenőrizze frissítésekért", |     "onlyCheckInstalledOrTrackOnlyApps": "Csak a telepített és a csak követhető appokat ellenőrizze frissítésekért", | ||||||
|     "fixedAPKURL": "APK URL is fixed", |     "supportFixedAPKURL": "Support fixed APK URLs", | ||||||
|     "selectX": "Select {}", |     "selectX": "Select {}", | ||||||
|     "removeAppQuestion": { |     "removeAppQuestion": { | ||||||
|         "one": "Eltávolítja az alkalmazást?", |         "one": "Eltávolítja az alkalmazást?", | ||||||
|   | |||||||
| @@ -275,7 +275,7 @@ | |||||||
|     "completeAppInstallationNotifChannel": "Completa l'installazione dell'app", |     "completeAppInstallationNotifChannel": "Completa l'installazione dell'app", | ||||||
|     "checkingForUpdatesNotifChannel": "Controllo degli aggiornamenti in corso", |     "checkingForUpdatesNotifChannel": "Controllo degli aggiornamenti in corso", | ||||||
|     "onlyCheckInstalledOrTrackOnlyApps": "Cerca aggiornamenti solo per app installate e app in Solo-Monitoraggio", |     "onlyCheckInstalledOrTrackOnlyApps": "Cerca aggiornamenti solo per app installate e app in Solo-Monitoraggio", | ||||||
|     "fixedAPKURL": "APK URL is fixed", |     "supportFixedAPKURL": "Support fixed APK URLs", | ||||||
|     "selectX": "Select {}", |     "selectX": "Select {}", | ||||||
|     "removeAppQuestion": { |     "removeAppQuestion": { | ||||||
|         "one": "Rimuovere l'app?", |         "one": "Rimuovere l'app?", | ||||||
|   | |||||||
| @@ -275,7 +275,7 @@ | |||||||
|     "completeAppInstallationNotifChannel": "アプリのインストールを完了する", |     "completeAppInstallationNotifChannel": "アプリのインストールを完了する", | ||||||
|     "checkingForUpdatesNotifChannel": "アップデートを確認中", |     "checkingForUpdatesNotifChannel": "アップデートを確認中", | ||||||
|     "onlyCheckInstalledOrTrackOnlyApps": "インストール済みのアプリと「追跡のみ」のアプリのアップデートのみを確認する", |     "onlyCheckInstalledOrTrackOnlyApps": "インストール済みのアプリと「追跡のみ」のアプリのアップデートのみを確認する", | ||||||
|     "fixedAPKURL": "APK URL is fixed", |     "supportFixedAPKURL": "Support fixed APK URLs", | ||||||
|     "selectX": "Select {}", |     "selectX": "Select {}", | ||||||
|     "removeAppQuestion": { |     "removeAppQuestion": { | ||||||
|         "one": "アプリを削除しますか?", |         "one": "アプリを削除しますか?", | ||||||
|   | |||||||
| @@ -275,7 +275,7 @@ | |||||||
|     "completeAppInstallationNotifChannel": "Voltooien van de app-installatie", |     "completeAppInstallationNotifChannel": "Voltooien van de app-installatie", | ||||||
|     "checkingForUpdatesNotifChannel": "Controleren op updates", |     "checkingForUpdatesNotifChannel": "Controleren op updates", | ||||||
|     "onlyCheckInstalledOrTrackOnlyApps": "Alleen geïnstalleerde en Track-Only apps controleren op updates", |     "onlyCheckInstalledOrTrackOnlyApps": "Alleen geïnstalleerde en Track-Only apps controleren op updates", | ||||||
|     "fixedAPKURL": "APK URL is fixed", |     "supportFixedAPKURL": "Support fixed APK URLs", | ||||||
|     "selectX": "Select {}", |     "selectX": "Select {}", | ||||||
|     "removeAppQuestion": { |     "removeAppQuestion": { | ||||||
|         "one": "App verwijderen?", |         "one": "App verwijderen?", | ||||||
|   | |||||||
| @@ -275,7 +275,7 @@ | |||||||
|     "completeAppInstallationNotifChannel": "Ukończenie instalacji aplikacji", |     "completeAppInstallationNotifChannel": "Ukończenie instalacji aplikacji", | ||||||
|     "checkingForUpdatesNotifChannel": "Sprawdzanie dostępności aktualizacji", |     "checkingForUpdatesNotifChannel": "Sprawdzanie dostępności aktualizacji", | ||||||
|     "onlyCheckInstalledOrTrackOnlyApps": "Sprawdzaj tylko zainstalowane i obserwowane aplikacje pod kątem aktualizacji", |     "onlyCheckInstalledOrTrackOnlyApps": "Sprawdzaj tylko zainstalowane i obserwowane aplikacje pod kątem aktualizacji", | ||||||
|     "fixedAPKURL": "APK URL is fixed", |     "supportFixedAPKURL": "Support fixed APK URLs", | ||||||
|     "selectX": "Select {}", |     "selectX": "Select {}", | ||||||
|     "removeAppQuestion": { |     "removeAppQuestion": { | ||||||
|         "one": "Usunąć aplikację?", |         "one": "Usunąć aplikację?", | ||||||
|   | |||||||
| @@ -275,7 +275,7 @@ | |||||||
|     "completeAppInstallationNotifChannel": "Instalação completa do App", |     "completeAppInstallationNotifChannel": "Instalação completa do App", | ||||||
|     "checkingForUpdatesNotifChannel": "Checando por Atualizações", |     "checkingForUpdatesNotifChannel": "Checando por Atualizações", | ||||||
|     "onlyCheckInstalledOrTrackOnlyApps": "Only check installed and Track-Only apps for updates", |     "onlyCheckInstalledOrTrackOnlyApps": "Only check installed and Track-Only apps for updates", | ||||||
|     "fixedAPKURL": "APK URL is fixed", |     "supportFixedAPKURL": "Support fixed APK URLs", | ||||||
|     "selectX": "Select {}", |     "selectX": "Select {}", | ||||||
|     "removeAppQuestion": { |     "removeAppQuestion": { | ||||||
|         "one": "Remover App?", |         "one": "Remover App?", | ||||||
|   | |||||||
| @@ -275,7 +275,7 @@ | |||||||
|     "completeAppInstallationNotifChannel": "Завершение установки приложения", |     "completeAppInstallationNotifChannel": "Завершение установки приложения", | ||||||
|     "checkingForUpdatesNotifChannel": "Проверка обновлений", |     "checkingForUpdatesNotifChannel": "Проверка обновлений", | ||||||
|     "onlyCheckInstalledOrTrackOnlyApps": "Only check installed and Track-Only apps for updates", |     "onlyCheckInstalledOrTrackOnlyApps": "Only check installed and Track-Only apps for updates", | ||||||
|     "fixedAPKURL": "APK URL is fixed", |     "supportFixedAPKURL": "Support fixed APK URLs", | ||||||
|     "selectX": "Select {}", |     "selectX": "Select {}", | ||||||
|     "removeAppQuestion": { |     "removeAppQuestion": { | ||||||
|         "one": "Удалить приложение?", |         "one": "Удалить приложение?", | ||||||
|   | |||||||
| @@ -275,7 +275,7 @@ | |||||||
|     "completeAppInstallationNotifChannel": "Uygulama Kurulumu Tamamlandı", |     "completeAppInstallationNotifChannel": "Uygulama Kurulumu Tamamlandı", | ||||||
|     "checkingForUpdatesNotifChannel": "Güncellemeler Kontrol Ediliyor", |     "checkingForUpdatesNotifChannel": "Güncellemeler Kontrol Ediliyor", | ||||||
|     "onlyCheckInstalledOrTrackOnlyApps": "Yalnızca yüklü ve Yalnızca İzleme Uygulamalarını güncelleme", |     "onlyCheckInstalledOrTrackOnlyApps": "Yalnızca yüklü ve Yalnızca İzleme Uygulamalarını güncelleme", | ||||||
|     "fixedAPKURL": "APK URL is fixed", |     "supportFixedAPKURL": "Support fixed APK URLs", | ||||||
|     "selectX": "Select {}", |     "selectX": "Select {}", | ||||||
|     "removeAppQuestion": { |     "removeAppQuestion": { | ||||||
|         "one": "Uygulamayı Kaldır?", |         "one": "Uygulamayı Kaldır?", | ||||||
|   | |||||||
| @@ -275,7 +275,7 @@ | |||||||
|     "completeAppInstallationNotifChannel": "Hoàn tất cài đặt ứng dụng", |     "completeAppInstallationNotifChannel": "Hoàn tất cài đặt ứng dụng", | ||||||
|     "checkingForUpdatesNotifChannel": "Đang kiểm tra cập nhật", |     "checkingForUpdatesNotifChannel": "Đang kiểm tra cập nhật", | ||||||
|     "onlyCheckInstalledOrTrackOnlyApps": "Chỉ kiểm tra các ứng dụng đã cài đặt và Chỉ-Theo dõi để biết các bản cập nhật", |     "onlyCheckInstalledOrTrackOnlyApps": "Chỉ kiểm tra các ứng dụng đã cài đặt và Chỉ-Theo dõi để biết các bản cập nhật", | ||||||
|     "fixedAPKURL": "APK URL is fixed", |     "supportFixedAPKURL": "Support fixed APK URLs", | ||||||
|     "selectX": "Select {}", |     "selectX": "Select {}", | ||||||
|     "removeAppQuestion":{ |     "removeAppQuestion":{ | ||||||
|         "one": "Gỡ ứng dụng?", |         "one": "Gỡ ứng dụng?", | ||||||
|   | |||||||
| @@ -275,7 +275,7 @@ | |||||||
|     "completeAppInstallationNotifChannel": "完成应用安装", |     "completeAppInstallationNotifChannel": "完成应用安装", | ||||||
|     "checkingForUpdatesNotifChannel": "正在检查更新", |     "checkingForUpdatesNotifChannel": "正在检查更新", | ||||||
|     "onlyCheckInstalledOrTrackOnlyApps": "只对已安装和“仅追踪”的应用进行更新检查", |     "onlyCheckInstalledOrTrackOnlyApps": "只对已安装和“仅追踪”的应用进行更新检查", | ||||||
|     "fixedAPKURL": "APK URL is fixed", |     "supportFixedAPKURL": "Support fixed APK URLs", | ||||||
|     "selectX": "Select {}", |     "selectX": "Select {}", | ||||||
|     "removeAppQuestion": { |     "removeAppQuestion": { | ||||||
|         "one": "是否删除应用?", |         "one": "是否删除应用?", | ||||||
|   | |||||||
| @@ -95,7 +95,10 @@ class HTML extends AppSource { | |||||||
|             label: tr('sortByFileNamesNotLinks')) |             label: tr('sortByFileNamesNotLinks')) | ||||||
|       ], |       ], | ||||||
|       [GeneratedFormSwitch('reverseSort', label: tr('reverseSort'))], |       [GeneratedFormSwitch('reverseSort', label: tr('reverseSort'))], | ||||||
|       [GeneratedFormSwitch('fixedAPKURL', label: tr('fixedAPKURL'))], |       [ | ||||||
|  |         GeneratedFormSwitch('supportFixedAPKURL', | ||||||
|  |             defaultValue: true, label: tr('supportFixedAPKURL')), | ||||||
|  |       ], | ||||||
|       [ |       [ | ||||||
|         GeneratedFormTextField('customLinkFilterRegex', |         GeneratedFormTextField('customLinkFilterRegex', | ||||||
|             label: tr('customLinkFilterRegex'), |             label: tr('customLinkFilterRegex'), | ||||||
| @@ -225,7 +228,7 @@ class HTML extends AppSource { | |||||||
|       } |       } | ||||||
|       var rel = links.last; |       var rel = links.last; | ||||||
|       String? version; |       String? version; | ||||||
|       if (additionalSettings['fixedAPKURL'] != true) { |       if (additionalSettings['supportFixedAPKURL'] != true) { | ||||||
|         version = rel.hashCode.toString(); |         version = rel.hashCode.toString(); | ||||||
|       } |       } | ||||||
|       var versionExtractionRegEx = |       var versionExtractionRegEx = | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user