{
    "version": "2.2.5",
    "description": "An easy-to-use Trakt/Plex Discord Rich Presence",
    "homepage": "https://github.com/afonsojramos/discrakt",
    "license": "MIT",
    "notes": [
        "Configure \"$dir\\credentials.ini\" with the required client IDs.",
        "See https://github.com/afonsojramos/discrakt#setup"
    ],
    "architecture": {
        "64bit": {
            "url": [
                "https://github.com/afonsojramos/discrakt/releases/download/v2.2.5/discrakt_win64.exe#/discrakt.exe",
                "https://github.com/afonsojramos/discrakt/releases/download/v2.2.5/credentials.ini"
            ],
            "hash": [
                "1cc39a12fdb90f21644d1e8da3f76490edb255147264b667f1960496a61b8e6d",
                "152c6e00b03fa62cf7fea37df8a47743e1b430f339f9929abb23840d51ecf134"
            ]
        }
    },
    "pre_install": [
        "# https://github.com/afonsojramos/discrakt/issues/47",
        "Set-Content -Path \"$dir\\discrakt.bat\" -Value (@('@echo off', 'pushd %~dp0 && discrakt.exe %* && popd') -join \"`r`n\")"
    ],
    "bin": "discrakt.bat",
    "persist": "credentials.ini",
    "checkver": "github",
    "autoupdate": {
        "architecture": {
            "64bit": {
                "url": [
                    "https://github.com/afonsojramos/discrakt/releases/download/v$version/discrakt_win64.exe#/discrakt.exe",
                    "https://github.com/afonsojramos/discrakt/releases/download/v$version/credentials.ini"
                ]
            }
        }
    }
}
