{
    "version": "2.12.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.12.0/TumblThree-v2.12.0-x64-Application.zip",
            "hash": "f09f3872f10f8bdc8f84f93c2ceb369a587eb9824b9ec8a7d64b64b3b40b5a34"
        },
        "32bit": {
            "url": "https://github.com/TumblThreeApp/TumblThree/releases/download/v2.12.0/TumblThree-v2.12.0-x86-Application.zip",
            "hash": "6beacc33cb21d598276b00be7658df9ec5f334e9a5f07aa9a120db538878dbda"
        }
    },
    "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"
            }
        }
    }
}
