Update stable release APK URL

This commit is contained in:
arkon 2021-09-13 18:30:03 -04:00
parent 5fc176d5d5
commit 20ab443fa6

View File

@ -34,7 +34,7 @@ export default {
async mounted() {
try {
const { data } = await this.$store.dispatch("getStableReleaseData");
const apkAsset = data.assets.find((a) => a.name.includes(".apk"));
const apkAsset = data.assets.find((a) => /^tachiyomi-v\d+\.\d+\.\d+.apk/.test(a.name));
this.$data.tagName = data.tag_name.slice(1);
this.$data.browserDownloadUrl = apkAsset.browser_download_url;
} catch (e) {