{
    "version": "1.7.13",
    "description": "An extremely light-weight, open source media player for Windows.",
    "homepage": "https://mpc-hc.org",
    "license": "GPL-3.0-only",
    "notes": "MPC-HC is not under development since 2017. Please switch to something else.",
    "architecture": {
        "64bit": {
            "url": "https://github.com/mpc-hc/mpc-hc/releases/download/1.7.13/MPC-HC.1.7.13.x64.7z",
            "hash": "1ce281b255ba4cd0762aed63c59e0cfa5be471422bd89676af07f2e3bfc6a5c4",
            "extract_dir": "MPC-HC.1.7.13.x64",
            "bin": [
                "mpc-hc64.exe",
                [
                    "mpc-hc64.exe",
                    "mpc-hc"
                ]
            ],
            "shortcuts": [
                [
                    "mpc-hc64.exe",
                    "MPC-HC x64"
                ]
            ]
        },
        "32bit": {
            "url": "https://github.com/mpc-hc/mpc-hc/releases/download/1.7.13/MPC-HC.1.7.13.x86.7z",
            "hash": "ae5f25f92f0586ce305fa909da98419e3ee3e0d55b08a7b7f246dec7b6a7d2f4",
            "extract_dir": "MPC-HC.1.7.13.x86",
            "bin": "mpc-hc.exe",
            "shortcuts": [
                [
                    "mpc-hc.exe",
                    "MPC-HC"
                ]
            ]
        }
    },
    "pre_install": [
        "@('mpc-hc64.ini', 'mpc-hc.ini', 'default.mpcpl') | ForEach-Object {",
        "    if (!(Test-Path \"$persist_dir\\$_\")) { New-Item \"$dir\\$_\" -ItemType File | Out-Null }",
        "}"
    ],
    "persist": [
        "mpc-hc64.ini",
        "mpc-hc.ini",
        "default.mpcpl"
    ]
}
