Get appropriate download link based on CPU ABI

This commit is contained in:
arkon
2021-06-05 18:30:04 -04:00
parent e6f3cd03bb
commit f2e4b2fc99
3 changed files with 14 additions and 4 deletions

View File

@@ -110,7 +110,7 @@ class AboutController : SettingsController(), NoToolbarElevationController {
when (val result = updateChecker.checkForUpdate()) {
is GithubUpdateResult.NewUpdate -> {
val body = result.release.info
val url = result.release.downloadLink
val url = result.release.getDownloadLink()
// Create confirmation window
NewUpdateDialogController(body, url).showDialog(router)