{
    "version": "2026.05.10996",
    "description": "Cutting-edge Windows configuration tool",
    "homepage": "https://www.ntlite.com",
    "license": "Proprietary",
    "depends": "innounp",
    "architecture": {
        "64bit": {
            "url": "https://downloads.ntlite.com/files/NTLite_setup_x64.exe",
            "hash": "a1b702e5b76431792054047f15d1e06a359a6c299c5ddac1e71e86e67266ad2c"
        },
        "32bit": {
            "url": "https://downloads.ntlite.com/files/NTLite_setup_x86_legacy.exe",
            "hash": "c68bcd5466d7fb51ec82f498ddd0e89f91a54cd1945535dfb7d0fcb577eda6d0"
        }
    },
    "pre_install": [
        "if (!(Test-Path \"$persist_dir\\settings.xml\")) {",
        "    $settings = '<?xml version=\"1.0\" encoding=\"utf-8\"?><GeneralOptions xmlns=\"urn:schemas-nliteos-com:pn.v1\"><CheckUpdate>false</CheckUpdate><AutoUpdate>false</AutoUpdate></GeneralOptions>'",
        "    Set-Content \"$dir\\settings.xml\" $settings -Encoding Ascii",
        "}"
    ],
    "installer": {
        "script": [
            "Expand-InnoArchive -Path \"$dir\\$fname\"",
            "Expand-InnoArchive -Path \"$dir\\$fname\" -ExtractDir '{code_CefInstallDir}' -Removal"
        ]
    },
    "shortcuts": [
        [
            "NTLite.exe",
            "NTLite"
        ]
    ],
    "persist": [
        "Presets",
        "Updates",
        "settings.xml"
    ],
    "checkver": {
        "url": "https://www.ntlite.com/download/",
        "regex": "\\>v\\D*([\\d.]+)<"
    },
    "autoupdate": {
        "architecture": {
            "64bit": {
                "url": "https://downloads.ntlite.com/files/NTLite_setup_x64.exe"
            },
            "32bit": {
                "url": "https://downloads.ntlite.com/files/NTLite_setup_x86_legacy.exe"
            }
        },
        "hash": {
            "url": "https://www.ntlite.com/download/",
            "regex": "$basename.*?>$sha256<"
        }
    }
}
