mirror of
https://github.com/geode-sdk/android-launcher.git
synced 2026-10-21 16:32:39 +00:00
check steam
This commit is contained in:
3 files changed
+7
-10
No files matched your search
@@ -262,14 +262,10 @@ fun UpdateWarning(inSafeMode: Boolean = false, onDismiss: () -> Unit) {
|
|||||||
Text(stringResource(R.string.launcher_unsupported_version_title))
|
Text(stringResource(R.string.launcher_unsupported_version_title))
|
||||||
},
|
},
|
||||||
text = {
|
text = {
|
||||||
val message = if (gdVersionCode >= Constants.SUPPORTED_VERSION_CODE) {
|
|
||||||
R.string.launcher_unsupported_version_description
|
|
||||||
} else {
|
|
||||||
R.string.launcher_outdated_version_description
|
|
||||||
}
|
|
||||||
|
|
||||||
Text(stringResource(
|
Text(stringResource(
|
||||||
message, gdVersionString, Constants.SUPPORTED_VERSION_STRING
|
R.string.launcher_unsupported_version_description,
|
||||||
|
gdVersionString,
|
||||||
|
Constants.SUPPORTED_VERSION_STRING
|
||||||
))
|
))
|
||||||
},
|
},
|
||||||
confirmButton = {
|
confirmButton = {
|
||||||
|
|||||||
@@ -13,6 +13,6 @@ object Constants {
|
|||||||
@SuppressLint("SdCardPath")
|
@SuppressLint("SdCardPath")
|
||||||
const val GJ_DATA_DIR = "/data/data/${PACKAGE_NAME}"
|
const val GJ_DATA_DIR = "/data/data/${PACKAGE_NAME}"
|
||||||
|
|
||||||
const val SUPPORTED_VERSION_CODE = 38L
|
const val SUPPORTED_VERSION_CODE = 39L
|
||||||
const val SUPPORTED_VERSION_STRING = "2.205"
|
const val SUPPORTED_VERSION_STRING = "2.2.142"
|
||||||
}
|
}
|
||||||
@@ -38,7 +38,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"
|
||||||
)
|
)
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in new issue
Block a user