feat: 三渠道分级 - nightly=当前版本, beta/stable留空(暂无更新)
This commit is contained in:
@@ -1,14 +1 @@
|
|||||||
{
|
{"version":"0.1.0","builds":{}}
|
||||||
"version": "0.1.0",
|
|
||||||
"builds": {
|
|
||||||
"android": {
|
|
||||||
"type": "apk",
|
|
||||||
"tag": "v0.1.0-dav-android-8",
|
|
||||||
"url": "https://git.childish-ghost.com/LukeMackin/Yuzu-GCA/releases/download/v0.1.0-dav-android-8/v0.1.0-dav-android-8-debug.apk",
|
|
||||||
"sha256": "b2451a398ea2dd34e585c5ec4529d6654451c9b9ab4ddf4a25ec9b032f0ac2bf",
|
|
||||||
"size": 3506569,
|
|
||||||
"channel": "beta",
|
|
||||||
"minVersion": "0.1.0"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|||||||
@@ -1,14 +1 @@
|
|||||||
{
|
{"version":"0.1.0","builds":{"android":{"type":"apk","tag":"v0.1.0-dav-android-8","url":"https://git.childish-ghost.com/LukeMackin/Yuzu-GCA/releases/download/v0.1.0-dav-android-8/v0.1.0-dav-android-8-debug.apk","sha256":"b2451a398ea2dd34e585c5ec4529d6654451c9b9ab4ddf4a25ec9b032f0ac2bf","size":3506569,"channel":"nightly","minVersion":"0.1.0"}}}
|
||||||
"version": "0.1.0",
|
|
||||||
"builds": {
|
|
||||||
"android": {
|
|
||||||
"type": "apk",
|
|
||||||
"tag": "v0.1.0-dav-android-8",
|
|
||||||
"url": "https://git.childish-ghost.com/LukeMackin/Yuzu-GCA/releases/download/v0.1.0-dav-android-8/v0.1.0-dav-android-8-debug.apk",
|
|
||||||
"sha256": "b2451a398ea2dd34e585c5ec4529d6654451c9b9ab4ddf4a25ec9b032f0ac2bf",
|
|
||||||
"size": 3506569,
|
|
||||||
"channel": "nightly",
|
|
||||||
"minVersion": "0.1.0"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|||||||
@@ -1,14 +1 @@
|
|||||||
{
|
{"version":"0.1.0","builds":{}}
|
||||||
"version": "0.1.0",
|
|
||||||
"builds": {
|
|
||||||
"android": {
|
|
||||||
"type": "apk",
|
|
||||||
"tag": "v0.1.0-dav-android-8",
|
|
||||||
"url": "https://git.childish-ghost.com/LukeMackin/Yuzu-GCA/releases/download/v0.1.0-dav-android-8/v0.1.0-dav-android-8-debug.apk",
|
|
||||||
"sha256": "b2451a398ea2dd34e585c5ec4529d6654451c9b9ab4ddf4a25ec9b032f0ac2bf",
|
|
||||||
"size": 3506569,
|
|
||||||
"channel": "stable",
|
|
||||||
"minVersion": "0.1.0"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -147,6 +147,11 @@ class MainActivity : AppCompatActivity() {
|
|||||||
|
|
||||||
// 2. 解析
|
// 2. 解析
|
||||||
appendLog("[2/4] 解析 manifest...")
|
appendLog("[2/4] 解析 manifest...")
|
||||||
|
if (!manifestJson.contains("\"android\"")) {
|
||||||
|
appendLog(" ℹ️ 该渠道暂无可用更新")
|
||||||
|
appendLog("=== $channel 渠道测试完成 ===")
|
||||||
|
return@withContext
|
||||||
|
}
|
||||||
var manifestSha256 = ""
|
var manifestSha256 = ""
|
||||||
var manifestApkUrl = ""
|
var manifestApkUrl = ""
|
||||||
var manifestTag = ""
|
var manifestTag = ""
|
||||||
|
|||||||
Reference in New Issue
Block a user