mirror of
https://github.com/chiteroman/PlayIntegrityFix.git
synced 2025-01-19 02:52:20 +08:00
This commit is contained in:
parent
51b38eab0d
commit
07eb6523de
@ -449,10 +449,15 @@ static void companion(int fd) {
|
|||||||
|
|
||||||
std::vector<uint8_t> dex, json;
|
std::vector<uint8_t> dex, json;
|
||||||
|
|
||||||
|
if (std::filesystem::exists(DEX_PATH)) {
|
||||||
dex = readFile(DEX_PATH);
|
dex = readFile(DEX_PATH);
|
||||||
|
}
|
||||||
|
|
||||||
|
if (std::filesystem::exists(PIF_JSON)) {
|
||||||
json = readFile(PIF_JSON);
|
json = readFile(PIF_JSON);
|
||||||
if (json.empty()) json = readFile(PIF_JSON_DEFAULT);
|
} else if (std::filesystem::exists(PIF_JSON_DEFAULT)) {
|
||||||
|
json = readFile(PIF_JSON_DEFAULT);
|
||||||
|
}
|
||||||
|
|
||||||
int dexSize = static_cast<int>(dex.size());
|
int dexSize = static_cast<int>(dex.size());
|
||||||
int jsonSize = static_cast<int>(json.size());
|
int jsonSize = static_cast<int>(json.size());
|
||||||
|
Loading…
Reference in New Issue
Block a user