// By Eliseu Filipi

init("joiner", "Celesty File Binder");

function detect(bShowType, bShowVersion, bShowOptions) {
    if (PE.compareEP("E8261F0000E989FEFFFF8BFF558BEC83EC208B450856576A0859BE0C9240008D7DE0F3A58945F88B450C5F8945FC5E85C074")) {
        sVersion = "1.0";
        sOptions = "C++ Static library";
        bDetected = true;
    } else if (PE.compareEP("E896040000E963FDFFFF8BFF558BEC81EC28030000A3E8514000890DE45140008915E0514000891DDC5140008935D8514000893DD4514000668C1500")) {
        sVersion = "1.0";
        sOptions = "C++ Dynamic library";
        sOptions = sOptions.append("AnyCPU");
        bDetected = true;
    }

    return result(bShowType, bShowVersion, bShowOptions);
}