{
    "version": "3.22.1",
    "description": "Image viewer to view all common image formats including RAW and psd images",
    "homepage": "https://nomacs.org",
    "license": "GPL-3.0-only",
    "architecture": {
        "64bit": {
            "url": "https://github.com/nomacs/nomacs/releases/download/3.22.1/nomacs-portable-win.zip",
            "hash": "7dd37f767e41f052c2af15634a098cfd69f90125b9515d8d503c953b4e39b8fd"
        }
    },
    "extract_dir": "nomacs-3.22.1",
    "pre_install": [
        "ensure \"$persist_dir\" | Out-Null",
        "Copy-Item \"$persist_dir\\settings.ini\" \"$dir\" -ErrorAction SilentlyContinue -Force"
    ],
    "uninstaller": {
        "script": "Copy-Item \"$dir\\settings.ini\" \"$persist_dir\" -ErrorAction SilentlyContinue -Force"
    },
    "bin": "nomacs.exe",
    "shortcuts": [
        [
            "nomacs.exe",
            "nomacs"
        ]
    ],
    "checkver": {
        "github": "https://github.com/nomacs/nomacs"
    },
    "autoupdate": {
        "architecture": {
            "64bit": {
                "url": "https://github.com/nomacs/nomacs/releases/download/$version/nomacs-portable-win.zip"
            }
        },
        "extract_dir": "nomacs-$version"
    }
}
