Skip to content

Commit

Permalink
yay!
Browse files Browse the repository at this point in the history
  • Loading branch information
qimiko committed Nov 19, 2024
1 parent f0af12f commit 6f3473b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,7 @@ class ReleaseManager private constructor(
val gameVersion = GamePackageUtils.getGameVersionCode(applicationContext.packageManager)

return when {
// default 2.2074 to prereleases while we're in the prerelease era
gameVersion >= 40L -> mapSelectedReleaseToTag().takeIf { it != TAG_LATEST } ?: TAG_BETA
gameVersion >= 40L -> mapSelectedReleaseToTag()
gameVersion == 39L -> "v3.9.2"
gameVersion == 38L -> "v2.0.0-beta.27"
gameVersion == 37L -> "v2.0.0-beta.4"
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/java/com/geode/launcher/utils/Constants.kt
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ object Constants {
const val SUPPORTED_VERSION_CODE_MIN = 37L

// anything below this version code shows a warning on the main menu
const val SUPPORTED_VERSION_CODE_MIN_WARNING = 39L
const val SUPPORTED_VERSION_CODE_MIN_WARNING = 40L

// anything above this version code will show a warning when starting the game
const val SUPPORTED_VERSION_CODE = 40L
Expand Down

0 comments on commit 6f3473b

Please sign in to comment.