{
    "version": "1.0.6.9",
    "description": "A download manager for the HTTP(S) and FTP(S) protocols.",
    "homepage": "https://erickutcher.github.io/#HTTP_Downloader",
    "license": "GPL-3.0-or-later",
    "architecture": {
        "64bit": {
            "url": "https://github.com/erickutcher/httpdownloader/releases/download/v1.0.6.9/HTTP_Downloader_64.zip",
            "hash": "a80e8a712d01f150e995c750ed1fcafe7e6e9c06f2866f2e338df2c0cc6be616"
        },
        "32bit": {
            "url": "https://github.com/erickutcher/httpdownloader/releases/download/v1.0.6.9/HTTP_Downloader_32.zip",
            "hash": "17ce6c330068e05f521445784d560eb3f086e276613f2da996281cc88357363e"
        }
    },
    "pre_install": [
        "New-Item \"$dir\\portable\" -Force | Out-Null",
        "'download_history', 'http_downloader_settings' | ForEach-Object {",
        "    if (-not (Test-Path -Path \"$persist_dir\\$_\")) {",
        "        New-Item -Path \"$dir\\$_\" -ItemType File -Force | Out-Null",
        "    }",
        "}"
    ],
    "bin": "HTTP_Downloader.exe",
    "shortcuts": [
        [
            "HTTP_Downloader.exe",
            "HTTP Downloader"
        ]
    ],
    "persist": [
        "incomplete",
        "download_history",
        "http_downloader_settings"
    ],
    "checkver": {
        "github": "https://github.com/erickutcher/httpdownloader",
        "regex": "(?i)tag/v([\\d.]+)(?=\")"
    },
    "autoupdate": {
        "architecture": {
            "64bit": {
                "url": "https://github.com/erickutcher/httpdownloader/releases/download/v$version/HTTP_Downloader_64.zip"
            },
            "32bit": {
                "url": "https://github.com/erickutcher/httpdownloader/releases/download/v$version/HTTP_Downloader_32.zip"
            }
        }
    }
}
