{
    "version": "25277695902",
    "description": "Libre Hardware Monitor is free software that can monitor the temperature sensors, fan speeds, voltages, load and clock speeds of your computer (.NET 10 nightly version).",
    "homepage": "https://github.com/LibreHardwareMonitor/LibreHardwareMonitor",
    "license": "MPL-2.0",
    "suggest": {
        ".NET Desktop Runtime 10.0": "versions/windowsdesktop-runtime-10.0"
    },
    "architecture": {
        "64bit": {
            "url": "https://nightly.link/LibreHardwareMonitor/LibreHardwareMonitor/actions/runs/25277695902/LibreHardwareMonitor%20%28.NET%2010%29.zip",
            "hash": "d71c18976c2f4cba7256956cc843a9533df13ddfaea350f1414b7cb178a5d18c"
        }
    },
    "pre_install": [
        "# Hardlinks cannot work properly here, as this app would create a new file instead of writing directly.",
        "'LibreHardwareMonitor.config', 'LibreHardwareMonitorLog*.csv' | ForEach-Object {",
        "    if (Test-Path -Path \"$persist_dir\\$_\" -PathType Leaf) {",
        "        Copy-Item -Path \"$persist_dir\\$_\" -Destination $dir -Force",
        "    }",
        "}"
    ],
    "shortcuts": [
        [
            "LibreHardwareMonitor.exe",
            "Libre Hardware Monitor (.NET 10 Nightly)"
        ]
    ],
    "pre_uninstall": [
        "# Hardlinks cannot work properly here, as this app would create a new file instead of writing directly.",
        "'LibreHardwareMonitor.config', 'LibreHardwareMonitorLog*.csv' | ForEach-Object {",
        "    if (Test-Path -Path \"$dir\\$_\" -PathType Leaf) {",
        "        ensure $persist_dir | Out-Null",
        "        Copy-Item -Path \"$dir\\$_\" -Destination $persist_dir -Force",
        "    }",
        "}"
    ],
    "checkver": {
        "github": "https://api.github.com/repos/LibreHardwareMonitor/LibreHardwareMonitor/actions/workflows/master.yml/runs?branch=master&status=success",
        "jsonpath": "$.workflow_runs[0].id"
    },
    "autoupdate": {
        "architecture": {
            "64bit": {
                "url": "https://nightly.link/LibreHardwareMonitor/LibreHardwareMonitor/actions/runs/$version/LibreHardwareMonitor%20%28.NET%2010%29.zip",
                "hash": {
                    "url": "https://api.github.com/repos/LibreHardwareMonitor/LibreHardwareMonitor/actions/runs/$version/artifacts",
                    "mode": "json",
                    "jsonpath": "$.artifacts[?(@.name== 'LibreHardwareMonitor (.NET 10)')].digest"
                }
            }
        }
    }
}
