mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-12-23 00:01:54 +01:00
Bump minimum extension lib and WebView versions
This commit is contained in:
parent
415df2357c
commit
fbf13efe74
@ -26,7 +26,7 @@ internal object ExtensionLoader {
|
|||||||
|
|
||||||
private const val EXTENSION_FEATURE = "tachiyomi.extension"
|
private const val EXTENSION_FEATURE = "tachiyomi.extension"
|
||||||
private const val METADATA_SOURCE_CLASS = "tachiyomi.extension.class"
|
private const val METADATA_SOURCE_CLASS = "tachiyomi.extension.class"
|
||||||
const val LIB_VERSION_MIN = 1.0
|
const val LIB_VERSION_MIN = 1.2
|
||||||
const val LIB_VERSION_MAX = 1.2
|
const val LIB_VERSION_MAX = 1.2
|
||||||
|
|
||||||
private const val PACKAGE_FLAGS = PackageManager.GET_CONFIGURATIONS or PackageManager.GET_SIGNATURES
|
private const val PACKAGE_FLAGS = PackageManager.GET_CONFIGURATIONS or PackageManager.GET_SIGNATURES
|
||||||
|
@ -6,7 +6,7 @@ private val WEBVIEW_UA_VERSION_REGEX by lazy {
|
|||||||
Regex(""".*Chrome/(\d+)\..*""")
|
Regex(""".*Chrome/(\d+)\..*""")
|
||||||
}
|
}
|
||||||
|
|
||||||
private const val MINIMUM_WEBVIEW_VERSION = 70
|
private const val MINIMUM_WEBVIEW_VERSION = 79
|
||||||
|
|
||||||
fun WebView.isOutdated(): Boolean {
|
fun WebView.isOutdated(): Boolean {
|
||||||
return getWebviewMajorVersion(this) < MINIMUM_WEBVIEW_VERSION
|
return getWebviewMajorVersion(this) < MINIMUM_WEBVIEW_VERSION
|
||||||
|
Loading…
Reference in New Issue
Block a user