{
    "version": "2026.01.02",
    "description": "Fork of DOSBox, an Intel x86-based PC emulator, complete with sound, graphics, mouse, joystick, modem, etc.",
    "homepage": "https://dosbox-x.com",
    "license": "GPL-2.0-or-later",
    "architecture": {
        "64bit": {
            "url": "https://github.com/joncampbell123/dosbox-x/releases/download/dosbox-x-v2026.01.02/dosbox-x-vsbuild-win64-20260102233440.zip",
            "hash": "4d738794a3b274841b119854457837d90fcc65c406d48eb634f7ceb3c7a9f189",
            "extract_dir": "bin\\x64\\Release SDL2"
        },
        "32bit": {
            "url": "https://github.com/joncampbell123/dosbox-x/releases/download/dosbox-x-v2026.01.02/dosbox-x-vsbuild-win32-20260102233440.zip",
            "hash": "a4536092b3958f3ab458ccfcb268b6fe1b444b6830de4b321d61b1171f147fea",
            "extract_dir": "bin\\Win32\\Release SDL2"
        },
        "arm64": {
            "url": "https://github.com/joncampbell123/dosbox-x/releases/download/dosbox-x-v2026.01.02/dosbox-x-vsbuild-arm64-20260102233440.zip",
            "hash": "dc35c31fa16f4ec2ee69987554ca675d0f0f603cf1e24a1d0b01b69be0a19b48",
            "extract_dir": "bin\\ARM64\\Release SDL2"
        }
    },
    "pre_install": "if (!(Test-Path \"$persist_dir\\dosbox.conf\")) { Copy-Item \"$dir\\dosbox-x.reference.conf\" \"$dir\\dosbox.conf\" }",
    "bin": "dosbox-x.exe",
    "shortcuts": [
        [
            "dosbox-x.exe",
            "DOSBox-X"
        ]
    ],
    "persist": "dosbox.conf",
    "checkver": {
        "github": "https://api.github.com/repos/joncampbell123/dosbox-x/releases/latest",
        "jsonpath": "$.assets..browser_download_url",
        "regex": "dosbox-x-v([\\d.]+).*vsbuild-arm64-(?<releasearm64>\\d+).*vsbuild-win32-(?<releasewin32>\\d+).*vsbuild-win64-(?<releasewin64>\\d+)"
    },
    "autoupdate": {
        "architecture": {
            "64bit": {
                "url": "https://github.com/joncampbell123/dosbox-x/releases/download/dosbox-x-v$version/dosbox-x-vsbuild-win64-$matchReleasewin64.zip"
            },
            "32bit": {
                "url": "https://github.com/joncampbell123/dosbox-x/releases/download/dosbox-x-v$version/dosbox-x-vsbuild-win32-$matchReleasewin32.zip"
            },
            "arm64": {
                "url": "https://github.com/joncampbell123/dosbox-x/releases/download/dosbox-x-v$version/dosbox-x-vsbuild-arm64-$matchReleasearm64.zip"
            }
        }
    }
}
