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

init("protector", "ModGuard");

function detect(bShowType, bShowVersion, bShowOptions) {
    if (DEX.isDexStringPresent("ModGuard - Protect Your Piracy v1.2 by ill420smoker")) {
        sVersion = "v1.2";
    } else if (DEX.isDexStringPresent("ModGuard - Protect Your Piracy v1.3 by ill420smoker")) {
        sVersion = "v1.3";
    }

    return result(bShowType, bShowVersion, bShowOptions);
}