{
    "version": "5.0.20211.51073",
    "description": "The free web debugging proxy for any browser, system or platform.",
    "homepage": "https://www.telerik.com/fiddler",
    "license": "Unknown",
    "url": "https://telerik-fiddler.s3.amazonaws.com/fiddler/FiddlerSetup.exe#/dl.7z",
    "hash": "5c92f0738c290eac319d4ac3006b5725f1d2163fbfe68dbb2047e07920f4d5e8",
    "pre_install": [
        "Expand-7zipArchive \"$dir\\`$PLUGINSDIR\\FiddlerSetup.exe\" \"$dir\" -Removal",
        "Remove-Item \"$dir\\`$*\" -Recurse",
        "    # Script editor",
        "Move-Item \"$dir\\FSE2.exe\" \"$dir\\ScriptEditor\"",
        "$path = 'HKCU:\\Software\\Microsoft\\Fiddler2\\InstallerSettings'",
        "New-Item $path -ErrorAction SilentlyContinue -Force | Out-Null",
        "@(@('InstallPath', ''), @('PluginPath', 'Inspectors'), @('ScriptPath', 'Scripts')) | ForEach-Object {",
        "    New-ItemProperty -Path $path -Name $_[0] -Value \"$dir\\$($_[1])\" -PropertyType ExpandString -ErrorAction SilentlyContinue | Out-Null",
        "}"
    ],
    "uninstaller": {
        "script": "If ($purge) { Remove-Item 'HKCU:\\Software\\Microsoft\\Fiddler2' -Force -Recurse }"
    },
    "shortcuts": [
        [
            "Fiddler.exe",
            "Fiddler"
        ],
        [
            "ScriptEditor\\FSE2.exe",
            "Fiddler ScriptEditor"
        ]
    ],
    "bin": "Fiddler.exe",
    "persist": "Scripts",
    "checkver": {
        "url": "https://www.fiddler2.com/UpdateCheck.aspx?isBeta=False",
        "useragent": "Fiddler/$version",
        "regex": "([\\d.]+)\\s*\\["
    },
    "autoupdate": {
        "url": "https://telerik-fiddler.s3.amazonaws.com/fiddler/FiddlerSetup.exe#/dl.7z"
    }
}
