From d5e385af65de8b7ef5072999c01a4065c1adc5c3 Mon Sep 17 00:00:00 2001 From: Alberto Ponces Date: Sat, 6 Aug 2022 23:01:05 +0100 Subject: [PATCH] fix: consider APK due to integrations. --- lib/services/github_api.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/services/github_api.dart b/lib/services/github_api.dart index a28eefc2..0afd2ca9 100644 --- a/lib/services/github_api.dart +++ b/lib/services/github_api.dart @@ -11,7 +11,7 @@ class GithubAPI { var dlurl = latestRelease.assets ?.firstWhere((asset) => asset.name != null && - asset.name!.endsWith('.dex') && + (asset.name!.endsWith('.dex') || asset.name!.endsWith('.apk')) && !asset.name!.contains('-sources') && !asset.name!.contains('-javadoc')) .browserDownloadUrl;