{
    "version": "1.16.4",
    "description": "Download videos from YouTube.",
    "homepage": "https://github.com/Tyrrrz/YoutubeDownloader",
    "license": "GPL-3.0-or-later",
    "architecture": {
        "64bit": {
            "url": "https://github.com/Tyrrrz/YoutubeDownloader/releases/download/1.16.4/YoutubeDownloader.win-x64.zip",
            "hash": "9e328b306e42d41544c0adf0fb908d987e8d8f28a980ead214e201c0957e4033"
        },
        "32bit": {
            "url": "https://github.com/Tyrrrz/YoutubeDownloader/releases/download/1.16.4/YoutubeDownloader.win-x86.zip",
            "hash": "e4ab153ccefce6b77d1125cf702e070d62eb75266eeff309a3df03baaed48f4a"
        },
        "arm64": {
            "url": "https://github.com/Tyrrrz/YoutubeDownloader/releases/download/1.16.4/YoutubeDownloader.win-arm64.zip",
            "hash": "083228db8f14994baa6c0ed6d4b11768ffb85d3da1a31d5eef5fd3320ef0e377"
        }
    },
    "pre_install": [
        "if (!(Test-Path \"$persist_dir\\Settings.dat\")) {",
        "    Set-Content \"$dir\\Settings.dat\" -Value '{ \"IsAutoUpdateEnabled\": false }' -Encoding Ascii",
        "}"
    ],
    "persist": "Settings.dat",
    "shortcuts": [
        [
            "YoutubeDownloader.exe",
            "YoutubeDownloader"
        ]
    ],
    "checkver": "github",
    "autoupdate": {
        "architecture": {
            "64bit": {
                "url": "https://github.com/Tyrrrz/YoutubeDownloader/releases/download/$version/YoutubeDownloader.win-x64.zip"
            },
            "32bit": {
                "url": "https://github.com/Tyrrrz/YoutubeDownloader/releases/download/$version/YoutubeDownloader.win-x86.zip"
            },
            "arm64": {
                "url": "https://github.com/Tyrrrz/YoutubeDownloader/releases/download/$version/YoutubeDownloader.win-arm64.zip"
            }
        }
    }
}
