Fixup! Support install CI apk

This commit is contained in:
tarsin committed 2023-07-05 10:48:44 +08:00
1 parent 0b95c340d6
commit 125c467c1b
1 file changed
+1 -1
@@ -117,7 +117,7 @@ fun AboutScreen() {
val archiveUrl = ghRequest("$API_URL/actions/artifacts").execute {
JSONObject(body.string()).getJSONArray("artifacts").iter<JSONObject>().find {
val wf = it.getJSONObject("workflow_run")
it.getString("name").startsWith("arm64-v8a") // && wf.getString("head_sha") == commitSha
it.getString("name").startsWith("arm64-v8a") && wf.getString("head_sha") == commitSha
}
}?.getString("archive_download_url")
if (archiveUrl != null) {