From e149f0b225693cac4a5fbbe83531d25fcf4de0bb Mon Sep 17 00:00:00 2001 From: Imran Remtulla Date: Wed, 15 Feb 2023 21:05:14 -0500 Subject: [PATCH 1/3] HTML Source bugfix --- lib/app_sources/html.dart | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/app_sources/html.dart b/lib/app_sources/html.dart index 984c20e..865162c 100644 --- a/lib/app_sources/html.dart +++ b/lib/app_sources/html.dart @@ -37,7 +37,9 @@ class HTML extends AppSource { .map((e) => e.toLowerCase().startsWith('http://') || e.toLowerCase().startsWith('https://') ? e - : '${uri.origin}/$e') + : e.startsWith('/') + ? '${uri.origin}/$e' + : '${uri.origin}/${uri.path}/$e') .toList(); return APKDetails(version, apkUrls, AppNames(uri.host, tr('app'))); } else { From b60622e2cbeb133fc7dfda1c31ca6a86b8ae61b1 Mon Sep 17 00:00:00 2001 From: Imran Remtulla Date: Wed, 15 Feb 2023 21:26:05 -0500 Subject: [PATCH 2/3] Steam bugfix --- lib/app_sources/steammobile.dart | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/lib/app_sources/steammobile.dart b/lib/app_sources/steammobile.dart index dacc088..a5e07cf 100644 --- a/lib/app_sources/steammobile.dart +++ b/lib/app_sources/steammobile.dart @@ -10,7 +10,10 @@ class SteamMobile extends AppSource { host = 'store.steampowered.com'; name = tr('steam'); additionalSourceAppSpecificSettingFormItems = [ - [GeneratedFormDropdown('app', apks.entries.toList(), label: tr('app'))] + [ + GeneratedFormDropdown('app', apks.entries.toList(), + label: tr('app'), defaultValue: apks.entries.toList()[0].key) + ] ]; } @@ -35,7 +38,8 @@ class SteamMobile extends AppSource { if (apkNamePrefix == null) { throw NoReleasesError(); } - String apkInURLRegexPattern = '/$apkNamePrefix-[^/]+\\.apk\$'; + String apkInURLRegexPattern = + '/$apkNamePrefix-([0-9]+\\.)*[0-9]+\\.apk\$'; var links = parse(res.body) .querySelectorAll('a') .map((e) => e.attributes['href'] ?? '') From 56658abd60e435664b0d820756086a927c95a901 Mon Sep 17 00:00:00 2001 From: Imran Remtulla Date: Wed, 15 Feb 2023 21:26:55 -0500 Subject: [PATCH 3/3] Increment version --- lib/main.dart | 2 +- pubspec.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/main.dart b/lib/main.dart index 10ff585..f7956d6 100644 --- a/lib/main.dart +++ b/lib/main.dart @@ -21,7 +21,7 @@ import 'package:easy_localization/src/easy_localization_controller.dart'; // ignore: implementation_imports import 'package:easy_localization/src/localization.dart'; -const String currentVersion = '0.10.10'; +const String currentVersion = '0.10.11'; const String currentReleaseTag = 'v$currentVersion-beta'; // KEEP THIS IN SYNC WITH GITHUB RELEASES diff --git a/pubspec.yaml b/pubspec.yaml index c42c9c1..bec8a1d 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -17,7 +17,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev # https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html # In Windows, build-name is used as the major, minor, and patch parts # of the product and file versions while build-number is used as the build suffix. -version: 0.10.10+116 # When changing this, update the tag in main() accordingly +version: 0.10.11+117 # When changing this, update the tag in main() accordingly environment: sdk: '>=2.18.2 <3.0.0'