{
    "version": "18433912418",
    "description": "Practical and minimal image viewer",
    "homepage": "https://github.com/jurplel/qView",
    "license": "GPL-3.0-only",
    "architecture": {
        "arm64": {
            "url": "https://github.com/jurplel/qView/releases/download/nightly/qView-nightly-Windows_arm64-2025-10-11.1.zip",
            "hash": "ad9887085aad19c44ba90b59e654e7e147514e4cfce424185a87e098f8deaaca"
        },
        "64bit": {
            "url": "https://github.com/jurplel/qView/releases/download/nightly/qView-nightly-Windows_64-2025-10-11.1.zip",
            "hash": "57dfd29a9b9233df0b8d1de97ca57d4353cd2034e672327e921f6af3e591b6a7"
        },
        "32bit": {
            "url": "https://github.com/jurplel/qView/releases/download/nightly/qView-nightly-Windows_32-2025-10-11.1.zip",
            "hash": "bb74811d061c97d7e049f50c5d41456060e241fcdedd4a397334c6fce6fb461d"
        }
    },
    "pre_install": [
        "Get-ChildItem \"$dir\\qView-nightly-*.exe\" | Rename-Item -NewName { $_.name -Replace '-nightly.+', '.exe' }",
        "Remove-Item \"$dir\\qView-*.*-win*.exe\""
    ],
    "bin": "qView.exe",
    "shortcuts": [
        [
            "qView.exe",
            "qView"
        ]
    ],
    "checkver": {
        "github": "https://api.github.com/repos/jurplel/qView/actions/workflows/build.yml/runs?branch=master&status=success",
        "script": [
            "$workflows = $page | ConvertFrom-Json",
            "$api = $workflows.workflow_runs[0]",
            "($api.id, (Get-Date $api.updated_at -Format 'yyyy-MM-dd'), $api.run_attempt) -join ' '"
        ],
        "regex": "\\A(\\d+) (?<date>\\d{4}(?:-\\d{2}){2}) (?<attempt>\\d+)\\Z"
    },
    "autoupdate": {
        "architecture": {
            "arm64": {
                "url": "https://github.com/jurplel/qView/releases/download/nightly/qView-nightly-Windows_arm64-$matchDate.$matchAttempt.zip"
            },
            "64bit": {
                "url": "https://github.com/jurplel/qView/releases/download/nightly/qView-nightly-Windows_64-$matchDate.$matchAttempt.zip"
            },
            "32bit": {
                "url": "https://github.com/jurplel/qView/releases/download/nightly/qView-nightly-Windows_32-$matchDate.$matchAttempt.zip"
            }
        }
    }
}
