{
    "version": "6.7.9",
    "description": "Fork of Telegram Desktop with quality-of-life enhancements.",
    "homepage": "https://t.me/forkgram",
    "license": {
        "identifier": "GPL-3.0-openssl-exception",
        "url": "https://github.com/forkgram/tdesktop/blob/dev/LICENSE"
    },
    "architecture": {
        "64bit": {
            "url": "https://github.com/forkgram/tdesktop/releases/download/v6.7.9/Telegram.zip",
            "hash": "3b755a7e0057887a7d51c37c6ca3b32f9ddbea7c9184a8c863c1654b4a8138d4"
        },
        "32bit": {
            "url": "https://github.com/forkgram/tdesktop/releases/download/v6.7.9/Telegram_x86.zip",
            "hash": "44a62ddf0d1ac1cc8a5ab06a6c92a5c4af37d5dc1c17926e459d9af67fbb466b"
        }
    },
    "pre_install": "if (Test-Path \"$persist_dir\\log.txt\") { Copy-Item \"$persist_dir\\log.txt\" \"$dir\\\" }",
    "pre_uninstall": "if (Test-Path \"$dir\\log.txt\") { Copy-Item \"$dir\\log.txt\" \"$persist_dir\\\" }",
    "bin": [
        "Telegram.exe",
        [
            "Telegram.exe",
            "Forkgram"
        ]
    ],
    "shortcuts": [
        [
            "Telegram.exe",
            "Forkgram"
        ]
    ],
    "persist": "tdata",
    "checkver": {
        "github": "https://github.com/forkgram/tdesktop"
    },
    "autoupdate": {
        "architecture": {
            "64bit": {
                "url": "https://github.com/forkgram/tdesktop/releases/download/v$version/Telegram.zip"
            },
            "32bit": {
                "url": "https://github.com/forkgram/tdesktop/releases/download/v$version/Telegram_x86.zip"
            }
        }
    }
}
