fix: consider APK due to integrations.

This commit is contained in:
Alberto Ponces 2022-08-06 23:01:05 +01:00
parent 9ad25bb308
commit d5e385af65

View file

@ -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;