{
    "version": "4.5.8.7128",
    "description": "Burns CDs and DVDs, including Blu-Ray and HD-DVDs.",
    "homepage": "https://cdburnerxp.se",
    "license": {
        "identifier": "Freeware",
        "url": "https://cdburnerxp.se/help/Intro/license"
    },
    "architecture": {
        "64bit": {
            "url": "https://www.fosshub.com/CDBurnerXP.html/CDBurnerXP-x64-4.5.8.7128.zip",
            "hash": "9d45a76026b3d1dff9397fcda2dd81c60af8a2d105103f6e021a581e9b492d8f"
        },
        "32bit": {
            "url": "https://www.fosshub.com/CDBurnerXP.html/CDBurnerXP-4.5.8.7128.zip",
            "hash": "c3759753ba9301d3b48bf4823c146b41ca6eb103bcab2f7cd943bee85e624647"
        }
    },
    "pre_install": [
        "if (-not (Test-Path \"$persist_dir\\UserSettings.ini\")) {",
        "    $cfg = @( '[General]', 'UseCustomTempFolder=1', \"CustomTempFolder=$persist_dir\\tmp\", \"RemoveableMediaCache=$persist_dir\\cache\" )",
        "    Set-Content -Path \"$dir\\UserSettings.ini\" -Value $cfg -Encoding Ascii",
        "}"
    ],
    "bin": [
        "cdbxpp.exe",
        "cdbxpcmd.exe"
    ],
    "shortcuts": [
        [
            "cdbxpp.exe",
            "CDBurnerXP"
        ]
    ],
    "persist": [
        "tmp",
        "cache",
        "UserSettings.ini"
    ],
    "checkver": {
        "url": "https://www.fosshub.com/CDBurnerXP.html",
        "regex": "\"softwareVersion\">([\\d.]+)<"
    },
    "autoupdate": {
        "architecture": {
            "64bit": {
                "url": "https://www.fosshub.com/CDBurnerXP.html/CDBurnerXP-x64-$version.zip"
            },
            "32bit": {
                "url": "https://www.fosshub.com/CDBurnerXP.html/CDBurnerXP-$version.zip"
            }
        }
    }
}
