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

init("library", "Microsoft Edge WebView");

function detect(bShowType, bShowVersion, bShowOptions) {
    if (PE.isLibraryPresent("WebView2Loader.dll") || PE.isLibraryPresent("msedge_elf.dll")) {
        bDetected = true;
    }

    return result(bShowType, bShowVersion, bShowOptions);
}