{
    "version": "2.20.0",
    "description": "A Tumblr Backup Application",
    "homepage": "https://github.com/TumblThreeApp/TumblThree",
    "license": "MIT",
    "suggest": {
        "vcredist": "extras/vcredist2022"
    },
    "architecture": {
        "64bit": {
            "url": "https://github.com/TumblThreeApp/TumblThree/releases/download/v2.20.0/TumblThree-v2.20.0-x64-Application.zip",
            "hash": "e8d5c53be7df8d1a16900b4b12a7a477a86828882cdb563c500b47849d8d3129"
        },
        "32bit": {
            "url": "https://github.com/TumblThreeApp/TumblThree/releases/download/v2.20.0/TumblThree-v2.20.0-x86-Application.zip",
            "hash": "fa0e69918ca354a54731b91b8e135769797d52a2667debca58485da1dd769c8b"
        }
    },
    "pre_install": [
        "foreach ($name in @('Cookies.json', 'Manager.json', 'Queuelist.json')) {",
        "    if (!(Test-Path \"$persist_dir\\$name\")) { New-Item \"$dir\\$name\" | Out-Null }",
        "}",
        "if (!(Test-Path \"$persist_dir\\Settings.json\")) { Set-Content \"$dir\\Settings.json\" '{\"PortableMode\": true}' -Encoding ASCII }"
    ],
    "bin": "TumblThree.exe",
    "shortcuts": [
        [
            "TumblThree.exe",
            "TumblThree"
        ]
    ],
    "persist": [
        "Cookies.json",
        "Manager.json",
        "Queuelist.json",
        "Settings.json"
    ],
    "checkver": {
        "github": "https://github.com/TumblThreeApp/TumblThree",
        "regex": "/TumblThree-v([\\d.]+)-x\\d+"
    },
    "autoupdate": {
        "architecture": {
            "64bit": {
                "url": "https://github.com/TumblThreeApp/TumblThree/releases/download/v$matchHead/TumblThree-v$version-x64-Application.zip"
            },
            "32bit": {
                "url": "https://github.com/TumblThreeApp/TumblThree/releases/download/v$matchHead/TumblThree-v$version-x86-Application.zip"
            }
        }
    }
}
