{
    "version": "9.4.1.15",
    "description": "A lightweight, versatile image viewer",
    "homepage": "https://imageglass.org",
    "license": "GPL-3.0-only",
    "notes": "If this app doesn't work maybe you need to clean '$dir\\igconfig.json' and reinstall '$dir\\Themes'.",
    "architecture": {
        "64bit": {
            "url": "https://github.com/d2phap/ImageGlass/releases/download/9.4.1.15/ImageGlass_9.4.1.15_x64.zip",
            "hash": "2ad0705f98a601418cb376ed5e2cf01c04e4eb6b533794804c72081958f4f45e",
            "extract_dir": "ImageGlass_x64"
        },
        "arm64": {
            "url": "https://github.com/d2phap/ImageGlass/releases/download/9.4.1.15/ImageGlass_9.4.1.15_arm64.zip",
            "hash": "e51c54111d72a9c69f2c19f1b02d95245e91cf12a1f9bb5031685b6ac90ea43f",
            "extract_dir": "ImageGlass_arm64"
        }
    },
    "pre_install": [
        "if (!(Test-Path \"$persist_dir\\igconfig.json\")) {",
        "    Add-Content \"$dir\\igconfig.json\" '{\"AutoUpdate\": \"0\"}' -Encoding utf8",
        "}"
    ],
    "bin": [
        "ImageGlass.exe",
        "igcmd.exe"
    ],
    "shortcuts": [
        [
            "ImageGlass.exe",
            "ImageGlass"
        ]
    ],
    "persist": [
        "Themes",
        "igconfig.json"
    ],
    "checkver": {
        "github": "https://github.com/d2phap/ImageGlass"
    },
    "autoupdate": {
        "architecture": {
            "64bit": {
                "url": "https://github.com/d2phap/ImageGlass/releases/download/$version/ImageGlass_$version_x64.zip"
            },
            "arm64": {
                "url": "https://github.com/d2phap/ImageGlass/releases/download/$version/ImageGlass_$version_arm64.zip"
            }
        }
    }
}
