mirror of
https://github.com/chiteroman/PlayIntegrityFix.git
synced 2025-02-22 22:28:48 +08:00
Merge pull request #530 from KOWX712/inject
Some checks failed
Android CI / build (push) Has been cancelled
Some checks failed
Android CI / build (push) Has been cancelled
Recognize `!` and `?` format
This commit is contained in:
commit
731c9e5abf
@ -173,8 +173,14 @@ static void playIntegrityApiHandleNewChecks() {
|
|||||||
if (len > 0 && line[len - 1] == '\n') {
|
if (len > 0 && line[len - 1] == '\n') {
|
||||||
line[len - 1] = '\0';
|
line[len - 1] = '\0';
|
||||||
}
|
}
|
||||||
if (strcmp(line, "android") == 0) android_found = true;
|
|
||||||
else if (strcmp(line, "com.android.vending") == 0) vending_found = true;
|
if (strcmp(line, "android") == 0 || strcmp(line, "android!") == 0 || strcmp(line, "android?") == 0) {
|
||||||
|
android_found = true;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (strcmp(line, "com.android.vending") == 0 || strcmp(line, "com.android.vending!") == 0 || strcmp(line, "com.android.vending?") == 0) {
|
||||||
|
vending_found = true;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
fseek(file, 0, SEEK_END);
|
fseek(file, 0, SEEK_END);
|
||||||
|
Loading…
Reference in New Issue
Block a user