{
    "version": "5.0.20261.4301",
    "description": "The free web debugging proxy for any browser, system or platform.",
    "homepage": "https://www.telerik.com/fiddler",
    "license": "Unknown",
    "url": "https://downloads.getfiddler.com/fiddler-classic/FiddlerSetup.5.0.20261.4301-latest.exe#/dl.7z",
    "hash": "ae04d25bd1f20ca2d4f6a7f59faaab8033c2f4033723bb473825c0197ea34d01",
    "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://api.getfiddler.com/fc/latest?&tele=true&meta=true",
        "useragent": "Fiddler/$version",
        "regex": "([\\d.]+)\\s*\\["
    },
    "autoupdate": {
        "url": "https://downloads.getfiddler.com/fiddler-classic/FiddlerSetup.$version-latest.exe#/dl.7z"
    }
}
