{
    "version": "5.78",
    "description": "A multiplatform GNU/GPL-licensed proxy encrypting arbitrary TCP connections with SSL/TLS",
    "homepage": "https://www.stunnel.org",
    "license": "GPL-2.0-or-later",
    "notes": [
        "For Windows 32bit, use 'stunnel549' instead",
        "Run 'stunnel -install' in the directory where a configured stunnel.conf is located (eg C:\\ProgramData\\scoop\\persist\\stunnel\\config) to create a native Windows service."
    ],
    "architecture": {
        "64bit": {
            "url": "https://www.stunnel.org/downloads/archive/5.x/stunnel-5.78-win64-installer.exe#/dl.7z",
            "hash": "32a88dcc5654f955266109be8bf10fd7d56fa4e125cab821ee508230570e46c5"
        }
    },
    "uninstaller": {
        "script": [
            "stunnel -stop -quiet",
            "stunnel -uninstall -quiet",
            "stunnel -exit -quiet"
        ]
    },
    "bin": "bin\\stunnel.exe",
    "persist": "config",
    "checkver": {
        "url": "https://www.stunnel.org/downloads.html",
        "regex": "stunnel-([\\d.]+)-win64"
    },
    "autoupdate": {
        "architecture": {
            "64bit": {
                "url": "https://www.stunnel.org/downloads/archive/$majorVersion.x/stunnel-$version-win64-installer.exe#/dl.7z"
            }
        },
        "hash": {
            "url": "$url.sha256"
        }
    }
}
