{
    "version": "2.0.34.5",
    "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.34.5/fmd_2.0.34.5_x86_64-win64.7z",
            "hash": "dd35300ee22ef04fd56523ba241fd972fada5c780ed8b6ad4d06fd83bf231434"
        },
        "32bit": {
            "url": "https://github.com/dazedcat19/FMD2/releases/download/2.0.34.5/fmd_2.0.34.5_i386-win32.7z",
            "hash": "9091d632ba80bf7a236eff965aaf11eadb74ce5064a38ac8c5c1348088c90913"
        }
    },
    "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"
            }
        }
    }
}
