// Detect It Easy: detection rule file format

init("archive", "Asar Archive (Electron)");

function detect(bShowType, bShowVersion, bShowOptions) {
    if (Binary.getSize() >= 28) {
        if (Binary.compare("04..............................'{\"files\":{'")) {
            bDetected = true;
        }
    }

    return result(bShowType, bShowVersion, bShowOptions);
}