{
    "version": "18.1.5.2",
    "description": "Driver removal utility that can help you completely uninstall AMD/NVIDIA graphics card drivers and packages from your system, without leaving leftovers behind (including registry keys, folders and files, driver store)",
    "homepage": "https://github.com/Wagnard/display-drivers-uninstaller",
    "license": {
        "identifier": "Freeware",
        "url": "https://github.com/Wagnard/display-drivers-uninstaller/blob/WPF/LICENSE.md"
    },
    "url": "https://www.wagnardsoft.com/DDU/download/DDU%20v18.1.5.2.exe#/dl.7z",
    "hash": "b86c1780b5186220c7c281a038bb07234fefefed29de50b16dbb1765313b4583",
    "extract_dir": "DDU v18.1.5.2",
    "pre_install": "Copy-Item \"$persist_dir\\settings\\Settings.xml\" \"$dir\\settings\" -ErrorAction SilentlyContinue",
    "shortcuts": [
        [
            "Display Driver Uninstaller.exe",
            "DDU - Display Driver Uninstaller"
        ]
    ],
    "pre_uninstall": [
        "# Hardlinks won't work properly here to persist files, because this app creates a new file instead of writing to the existing one.",
        "ensure \"$persist_dir\\settings\" | Out-Null",
        "Copy-Item \"$dir\\settings\\Settings.xml\" \"$persist_dir\\settings\" -ErrorAction SilentlyContinue"
    ],
    "checkver": {
        "url": "https://www.wagnardsoft.com/display-driver-uninstaller-ddu",
        "regex": "Display Driver Uninstaller \\(DDU\\) (\\d+(?:\\.\\d+){3})"
    },
    "autoupdate": {
        "url": "https://www.wagnardsoft.com/DDU/download/DDU%20v$version.exe#/dl.7z",
        "extract_dir": "DDU v$version"
    }
}
