You've already forked ReZygisk
mirror of
https://github.com/PerformanC/ReZygisk.git
synced 2025-09-06 06:37:01 +00:00
fix: KernelSU variant detection
This commit fixes the KSU variant detection, which previously was hardcoded on accident to always set it to KernelSU Next.
This commit is contained in:
@@ -52,7 +52,6 @@ void ksu_get_existence(struct root_impl_state *state) {
|
|||||||
if (mode[0] != '\0') state->variant = KNext;
|
if (mode[0] != '\0') state->variant = KNext;
|
||||||
else state->variant = KOfficial;
|
else state->variant = KOfficial;
|
||||||
|
|
||||||
state->variant = KNext;
|
|
||||||
variant = state->variant;
|
variant = state->variant;
|
||||||
}
|
}
|
||||||
else if (version >= 1 && version <= MIN_KSU_VERSION - 1) state->state = TooOld;
|
else if (version >= 1 && version <= MIN_KSU_VERSION - 1) state->state = TooOld;
|
||||||
|
|||||||
Reference in New Issue
Block a user