{
    "version": "2.4.2",
    "description": "File sharing program using DC and ADC protocols",
    "homepage": "https://github.com/eiskaltdcpp/eiskaltdcpp",
    "license": "GPL-3.0-or-later",
    "architecture": {
        "64bit": {
            "url": "https://downloads.sourceforge.net/project/eiskaltdcpp/files/Windows/EiskaltDC++-2.4.2_x86_64-portable.7z",
            "hash": "sha1:9ed0cd684989e40a29d58e85960f908d780774c0"
        },
        "32bit": {
            "url": "https://downloads.sourceforge.net/project/eiskaltdcpp/files/Windows/EiskaltDC++-2.4.2_x86-portable.7z",
            "hash": "sha1:764df76901b038d460909f4422950082c70c6869"
        }
    },
    "extract_dir": "EiskaltDC++-2.4.2_x86_64",
    "pre_install": [
        "'FinishedDownloads.sqlite', 'FinishedUploads.sqlite', 'HashData.dat' | ForEach-Object {",
        "    if(!(Test-Path \"$persist_dir\\$_\")) {New-Item \"$dir\\$_\" | Out-Null}",
        "}"
    ],
    "bin": "eiskaltdcpp-daemon.exe",
    "shortcuts": [
        [
            "EiskaltDC++.exe",
            "EiskaltDC++"
        ]
    ],
    "checkver": {
        "url": "https://sourceforge.net/projects/eiskaltdcpp/rss?path=/Windows",
        "regex": "Windows/EiskaltDC\\+\\+-([\\d.]+)_x86_64-portable\\.7z"
    },
    "persist": [
        "Certificates",
        "FileLists",
        "HubLists",
        "FinishedDownloads.sqlite",
        "FinishedUploads.sqlite",
        "HashData.dat"
    ],
    "autoupdate": {
        "architecture": {
            "64bit": {
                "url": "https://downloads.sourceforge.net/project/eiskaltdcpp/files/Windows/EiskaltDC++-$version_x86_64-portable.7z"
            },
            "32bit": {
                "url": "https://downloads.sourceforge.net/project/eiskaltdcpp/files/Windows/EiskaltDC++-$version_x86-portable.7z"
            }
        }
    }
}
