{
    "version": "3.0.4953",
    "description": "A powerful, multi-purpose tool that helps you monitor system resources, debug software and detect malware.",
    "homepage": "https://processhacker.sourceforge.io/nightly.php",
    "license": "GPL-3.0-only",
    "architecture": {
        "64bit": {
            "url": "https://github.com/ProcessHackerRepoTool/nightly-builds-mirror/releases/download/3.0.4953/processhacker-3.0.4953-bin.zip",
            "hash": "a5c3eecb80afc94cd28511dbca55b297dbd414ec061d309b1777730bbd8933ea",
            "extract_dir": "64bit"
        },
        "32bit": {
            "url": "https://github.com/ProcessHackerRepoTool/nightly-builds-mirror/releases/download/3.0.4953/processhacker-3.0.4953-bin.zip",
            "hash": "a5c3eecb80afc94cd28511dbca55b297dbd414ec061d309b1777730bbd8933ea",
            "extract_dir": "32bit"
        }
    },
    "post_install": [
        "$settings = Get-ChildItem \"$dir\\ProcessHacker.exe.settings.xml\"",
        "$settingsXml = [xml](Get-Content $settings)",
        "if ($settingsXml.settings -eq $null) { return }",
        "($settingsXml.settings.ChildNodes | Where-Object { $_.name.Contains(\"IconGuids\") }) | ForEach-Object { [void]$_.ParentNode.RemoveChild($_) }",
        "$settingsXml.Save($settings)"
    ],
    "bin": [
        "ProcessHacker.exe",
        "peview.exe"
    ],
    "shortcuts": [
        [
            "ProcessHacker.exe",
            "Process Hacker"
        ]
    ],
    "persist": [
        "ProcessHacker.exe.settings.xml",
        "usernotesdb.xml"
    ],
    "checkver": {
        "url": "https://github.com/ProcessHackerRepoTool/nightly-builds-mirror/releases",
        "regex": "/tag/([\\d.]+)"
    },
    "autoupdate": {
        "url": "https://github.com/ProcessHackerRepoTool/nightly-builds-mirror/releases/download/$version/processhacker-$version-bin.zip"
    }
}
