{
    "version": "1.20.1",
    "description": "Monitor processor temperature and other vital information.",
    "homepage": "https://www.alcpu.com/CoreTemp/",
    "license": {
        "identifier": "Freeware",
        "url": "https://www.alcpu.com/CoreTemp/terms.html"
    },
    "notes": "Download language packs by running: \"$dir\\download-language-packs.ps1\" (\"powershell \"$dir\\download-language-packs.ps1\"\" under cmd)",
    "architecture": {
        "64bit": {
            "url": "https://www.alcpu.com/CoreTemp/CoreTemp64.zip",
            "hash": "3b9595293e975140db47133ab34099522c66b12bf8e56dd5c55deb8ef0632c7a"
        },
        "32bit": {
            "url": "https://www.alcpu.com/CoreTemp/CoreTemp32.zip",
            "hash": "999fc2df38c03b13a0624d841b08bdae94654c38d9f376fca6ff03bd43162011"
        }
    },
    "pre_install": [
        "Copy-Item \"$bucketsdir\\extras\\scripts\\coretemp\\download-language-packs.ps1\" \"$dir\\\" | Out-Null",
        "if (Test-Path \"$persist_dir\\CoreTemp.ini\") { Copy-Item \"$persist_dir\\CoreTemp.ini\" \"$dir\\\" | Out-Null }"
    ],
    "pre_uninstall": "Stop-Process -Name 'Core Temp' -ErrorAction SilentlyContinue",
    "uninstaller": {
        "script": [
            "if (Test-Path \"$dir\\CoreTemp.ini\") {",
            "    ensure \"$persist_dir\" | Out-Null",
            "    Copy-Item \"$dir\\CoreTemp.ini\" \"$persist_dir\\\" | Out-Null",
            "}"
        ]
    },
    "shortcuts": [
        [
            "Core Temp.exe",
            "Core Temp"
        ]
    ],
    "persist": [
        "languages",
        "plugins"
    ],
    "checkver": {
        "url": "https://www.alcpu.com/CoreTemp/history.html",
        "regex": "Version ([\\d.]+)"
    },
    "autoupdate": {
        "architecture": {
            "64bit": {
                "url": "https://www.alcpu.com/CoreTemp/CoreTemp64.zip"
            },
            "32bit": {
                "url": "https://www.alcpu.com/CoreTemp/CoreTemp32.zip"
            }
        }
    }
}
