-
{{ releasePublishRelative }}
+
+ {{ stablePublishRelative }}
+
+ {{ previewPublishRelative }}
+
+
You need to specify props.
diff --git a/src/.vuepress/constants.js b/src/.vuepress/constants.js
index 69fd9650..b0bce710 100644
--- a/src/.vuepress/constants.js
+++ b/src/.vuepress/constants.js
@@ -1,5 +1,5 @@
export const GITHUB_EXTENSION_JSON = "https://raw.githubusercontent.com/inorichi/tachiyomi-extensions/repo/index.json";
-export const GITHUB_LATEST_RELEASE = "https://github.com/inorichi/tachiyomi/releases/latest";
-export const GITHUB_LATEST_API = "https://api.github.com/repos/inorichi/tachiyomi/releases/latest";
+export const GITHUB_STABLE_API = "https://api.github.com/repos/inorichi/tachiyomi/releases/latest";
+export const GITHUB_STABLE_RELEASE = "https://github.com/inorichi/tachiyomi/releases/latest";
export const GITHUB_PREVIEW_API = "https://api.github.com/repos/tachiyomiorg/android-app-preview/releases/latest";
export const GITHUB_PREVIEW_RELEASE = "https://github.com/tachiyomiorg/android-app-preview/releases/latest";
diff --git a/src/.vuepress/store/index.js b/src/.vuepress/store/index.js
index ce978463..a5e62a5b 100644
--- a/src/.vuepress/store/index.js
+++ b/src/.vuepress/store/index.js
@@ -2,7 +2,7 @@ import Vue from "vue";
import Vuex from "vuex";
import axios from "axios";
-import { GITHUB_LATEST_API, GITHUB_PREVIEW_API } from "../constants";
+import { GITHUB_STABLE_API, GITHUB_PREVIEW_API } from "../constants";
const worker = (function () {
const networkMap = new Map();
@@ -73,22 +73,22 @@ const worker = (function () {
}
return {
- getPreviewData(store, name) {
+ getStableData(store, name) {
return new Promise((resolve, reject) => {
- _getData(store, name, "setPreviewReleaseData", GITHUB_PREVIEW_API)
+ _getData(store, name, "setStableReleaseData", GITHUB_STABLE_API)
.then(() => {
- resolve(store.state.preview);
+ resolve(store.state.stable);
})
.catch((reason) => {
reject(reason);
});
});
},
- getStableData(store, name) {
+ getPreviewData(store, name) {
return new Promise((resolve, reject) => {
- _getData(store, name, "setStableReleaseData", GITHUB_LATEST_API)
+ _getData(store, name, "setPreviewReleaseData", GITHUB_PREVIEW_API)
.then(() => {
- resolve(store.state.stable);
+ resolve(store.state.preview);
})
.catch((reason) => {
reject(reason);
diff --git a/src/download/README.md b/src/download/README.md
index 795afbcb..0a89e491 100644
--- a/src/download/README.md
+++ b/src/download/README.md
@@ -8,7 +8,7 @@ lang: en-US
---
# Download
-Download the latest stable version of **Tachiyomi** (**
**) which released
.
+Download the latest stable version of **Tachiyomi** that released
or the preview version that released
.