{
    "version": "3.7.0.2",
    "description": "Mintty as a terminal for WSL (Windows Subsystem for Linux).",
    "homepage": "https://github.com/mintty/wsltty",
    "license": "GPL-3.0-or-later",
    "architecture": {
        "64bit": {
            "url": "https://github.com/mintty/wsltty/releases/download/3.7.0.2/wsltty-3.7.0.2-x86_64.cab#/dl.7z",
            "hash": "a883eb70cf5283000ebff4d540d758ef9d331f3f4d82a0ca7a4607d42e596cc7",
            "extract_dir": "wsltty-3.7.0.2-x86_64"
        },
        "32bit": {
            "url": "https://github.com/mintty/wsltty/releases/download/3.7.0.2/wsltty-3.7.0.2-i686.cab#/dl.7z",
            "hash": "05816530d7d1778e7dfb11f4fd64d8155a4efa0e47268c2b9d98d2fcc65e213d",
            "extract_dir": "wsltty-3.7.0.2-i686"
        }
    },
    "extract_to": "installer",
    "installer": {
        "script": [
            "$env:installdir = $dir",
            "$env:configdir = \"$dir\\config\"",
            "Push-Location \"$dir\\installer\"",
            "& .\\install.bat 2>&1>$null",
            "Pop-Location"
        ]
    },
    "post_install": "Remove-Item -LiteralPath \"$dir\\installer\" -Force -Recurse",
    "uninstaller": {
        "script": [
            "$env:installdir = $dir",
            "Push-Location \"$dir\"",
            "& .\\uninstall.bat 2>&1>$null",
            "Pop-Location"
        ]
    },
    "persist": "config",
    "checkver": "github",
    "autoupdate": {
        "architecture": {
            "64bit": {
                "url": "https://github.com/mintty/wsltty/releases/download/$version/wsltty-$version-x86_64.cab#/dl.7z",
                "extract_dir": "wsltty-$version-x86_64"
            },
            "32bit": {
                "url": "https://github.com/mintty/wsltty/releases/download/$version/wsltty-$version-i686.cab#/dl.7z",
                "extract_dir": "wsltty-$version-i686"
            }
        }
    }
}
