mirror of
https://github.com/geode-sdk/android-launcher.git
synced 2026-10-21 16:32:39 +00:00
i'm predicting
This commit is contained in:
2 files changed
+4
-2
No files matched your search
@@ -114,7 +114,8 @@ class ReleaseManager private constructor(
|
|||||||
val gameVersion = GamePackageUtils.getGameVersionCode(applicationContext.packageManager)
|
val gameVersion = GamePackageUtils.getGameVersionCode(applicationContext.packageManager)
|
||||||
|
|
||||||
return when {
|
return when {
|
||||||
gameVersion >= 39L -> mapSelectedReleaseToTag()
|
gameVersion >= 40L -> mapSelectedReleaseToTag()
|
||||||
|
gameVersion == 39L -> "v3.9.0"
|
||||||
gameVersion == 38L -> "v2.0.0-beta.27"
|
gameVersion == 38L -> "v2.0.0-beta.27"
|
||||||
gameVersion == 37L -> "v2.0.0-beta.4"
|
gameVersion == 37L -> "v2.0.0-beta.4"
|
||||||
else -> null
|
else -> null
|
||||||
|
|||||||
@@ -39,7 +39,8 @@ object GamePackageUtils {
|
|||||||
private val gameVersionMap = mapOf(
|
private val gameVersionMap = mapOf(
|
||||||
37L to "2.200",
|
37L to "2.200",
|
||||||
38L to "2.205",
|
38L to "2.205",
|
||||||
39L to "2.206"
|
39L to "2.206",
|
||||||
|
40L to "2.2074" // ok
|
||||||
)
|
)
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in new issue
Block a user