{
    "version": "2.0.32.0",
    "description": "Active fork of Free Manga Downloader, an application for managing and downloading manga from various websites.",
    "homepage": "https://github.com/dazedcat19/FMD2",
    "license": "GPL-2.0-only",
    "architecture": {
        "64bit": {
            "url": "https://github.com/dazedcat19/FMD2/releases/download/2.0.32.0/fmd_2.0.32.0_x86_64-win64.7z",
            "hash": "730ad688f34076d6767f3d82a709bee4243dc813f8a267d4f13abc5445077173"
        },
        "32bit": {
            "url": "https://github.com/dazedcat19/FMD2/releases/download/2.0.32.0/fmd_2.0.32.0_i386-win32.7z",
            "hash": "d0e0e267b26ff665daef98287898928d96aa36261d97258a48c05329dfaaa96a"
        }
    },
    "pre_install": [
        "# Turn off Auto Update",
        "if (!(Test-Path \"$persist_dir\\userdata\\settings.json\")) {",
        "    if (!(Test-Path \"$dir\\userdata\")) {",
        "       (New-Item -Type directory \"$dir\\userdata\") | Out-Null",
        "    }",
        "    $json = @{}",
        "    $data = @{\"AutoCheckLatestVersion\" = $false}",
        "    $json.Add(\"update\",$data)",
        "    $json | ConvertTo-Json | Out-File \"$dir\\userdata\\settings.json\" -Encoding ascii",
        "}"
    ],
    "bin": "fmd.exe",
    "shortcuts": [
        [
            "fmd.exe",
            "Free Manga Downloader 2"
        ]
    ],
    "persist": [
        "backup",
        "data",
        "downloads",
        "lua",
        "userdata"
    ],
    "checkver": {
        "github": "https://github.com/dazedcat19/FMD2"
    },
    "autoupdate": {
        "architecture": {
            "64bit": {
                "url": "https://github.com/dazedcat19/FMD2/releases/download/$version/fmd_$version_x86_64-win64.7z"
            },
            "32bit": {
                "url": "https://github.com/dazedcat19/FMD2/releases/download/$version/fmd_$version_i386-win32.7z"
            }
        }
    }
}
