{
    "version": "2.9.1.0",
    "description": "A UI for the command-line video downloader youtube-dl",
    "homepage": "https://github.com/Maxstupo/ydl-ui",
    "license": "MIT",
    "url": "https://github.com/Maxstupo/ydl-ui/releases/download/v2.9.1/YDL-UI_v2.9.1.0_Portable.zip",
    "hash": "388486c3aa8251f9e8f021f418912c668355c47f7c6855f96149ae3668a94d43",
    "extract_dir": "YDL-UI_v2.9.1.0_Portable",
    "pre_install": [
        "if (!(Test-Path \"$persist_dir\\ydl-ui.json\")) {",
        "    @{",
        "        'UpdateInterval' = 'Never'",
        "        'DefaultDownloadArchive' = ''",
        "        'DefaultDownloadDirectory' = \"$persist_dir\\download\"",
        "    } | ConvertToPrettyJson | Set-Content \"$dir\\ydl-ui.json\" -Encoding Ascii -Force",
        "}",
        "if (!(Test-Path \"$persist_dir\\download-list.json\")) { Set-Content \"$dir\\download-list.json\" '[]' -Encoding Ascii }"
    ],
    "bin": "YDL-UI.exe",
    "shortcuts": [
        [
            "YDL-UI.exe",
            "YDL-UI"
        ]
    ],
    "persist": [
        "download-list.json",
        "ydl-ui.json",
        "download"
    ],
    "checkver": {
        "github": "https://github.com/Maxstupo/ydl-ui",
        "regex": "YDL-UI_v([\\d.]+)_Port"
    },
    "autoupdate": {
        "url": "https://github.com/Maxstupo/ydl-ui/releases/download/v$matchHead/YDL-UI_v$version_Portable.zip",
        "extract_dir": "YDL-UI_v$version_Portable"
    }
}
