// Detect It Easy: detection rule file

// Author: DosX
// E-Mail: collab@kay-software.ru
// GitHub: https://github.com/DosX-dev
// Telegram: @DosX_dev

meta("protector", "AndroidRepublic");

function detect() {
    if (APK.isArchiveRecordPresentExp(APK.isArchiveRecordPresent(/assets\/androidrepublic\.org\/(.*)\.png/))) {
        sVersion = "VIP";
        bDetected = true;
    } else if (APK.isArchiveRecordPresentExp("assets/emt.androidrepublic/config.png")) {
        bDetected = true;
    }

    return result();
}