Manifests/PaintDotNet.json

{
    "Name": "Paint.NET",
    "Source": "https://getpaint.net",
    "Get": {
        "Uri": "https://www.getpaint.net/updates/versions.8.1000.0.x64.en.txt",
        "MatchVersion": "StableVersions=(\\d+(\\.\\d+)+\\s)",
        "MatchDownload": "#Version_FullZipUrlList=(.*)"
    },
    "Install": {
        "Setup": "paint*.zip",
        "Preinstall": "Expand-Archive -Path #FileName -DestinationPath #TempPath",
        "Physical": {
            "Arguments": "CHECKFORUPDATES=1 DESKTOPSHORTCUT=0",
            "PostInstall": []
        },
        "Virtual": {
            "Arguments": "CHECKFORUPDATES=0 DESKTOPSHORTCUT=0",
            "PostInstall": []
        }
    }
}