mirror of
https://github.com/chiteroman/PlayIntegrityFix.git
synced 2025-02-01 00:42:57 +08:00
update code
This commit is contained in:
parent
6bb3ab20e7
commit
f0c2bf6321
@ -203,7 +203,8 @@ public:
|
||||
|
||||
if (jsonSize > 0) {
|
||||
jsonStr.resize(jsonSize);
|
||||
xread(fd, jsonStr.data(), jsonSize);
|
||||
jsonSize = xread(fd, jsonStr.data(), jsonSize);
|
||||
jsonStr[jsonSize] = '\0';
|
||||
json = nlohmann::json::parse(jsonStr, nullptr, false, true);
|
||||
}
|
||||
|
||||
@ -233,7 +234,7 @@ public:
|
||||
}
|
||||
|
||||
void postAppSpecialize(const zygisk::AppSpecializeArgs *args) override {
|
||||
if (dexVector.empty()) return;
|
||||
if (dexVector.empty() || json.empty()) return;
|
||||
|
||||
UpdateBuildFields();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user