mirror of
https://github.com/tachiyomiorg/website.git
synced 2024-12-21 15:41:59 +01:00
Update stable release APK URL
This commit is contained in:
parent
5fc176d5d5
commit
20ab443fa6
@ -34,7 +34,7 @@ export default {
|
|||||||
async mounted() {
|
async mounted() {
|
||||||
try {
|
try {
|
||||||
const { data } = await this.$store.dispatch("getStableReleaseData");
|
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.tagName = data.tag_name.slice(1);
|
||||||
this.$data.browserDownloadUrl = apkAsset.browser_download_url;
|
this.$data.browserDownloadUrl = apkAsset.browser_download_url;
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
|
Loading…
Reference in New Issue
Block a user