mirror of
https://github.com/topjohnwu/Magisk.git
synced 2026-01-14 13:57:25 -08:00
Check util_functions.sh version
This commit is contained in:
@@ -145,7 +145,7 @@ class HomeViewModel(
|
||||
)
|
||||
if (invalidStates.any { it == stateMagisk } || shownDialog) return
|
||||
|
||||
val result = Shell.su("env_check").await()
|
||||
val result = Shell.su("env_check ${Info.env.magiskVersionString} ${Info.env.magiskVersionCode}").await()
|
||||
if (!result.isSuccess) {
|
||||
shownDialog = true
|
||||
EnvFixDialog().publish()
|
||||
|
||||
Reference in New Issue
Block a user