Manifests/Greenshot.json

{
    "Name": "Greenshot",
    "Source": "https://getgreenshot.org/",
    "Get": {
        "Uri": "https://api.github.com/repos/greenshot/greenshot/releases/latest",
        "MatchVersion": "(\\d+(\\.\\d+){1,4}).*",
        "MatchFileTypes": "^(?!.*DEBUG).*zip$|.*exe$"
    },
    "Install": {
        "Setup": "Greenshot*.zip",
        "Preinstall": "Expand-Archive -Path #FileName -DestinationPath #TempPath",
        "Physical": {
            "Arguments": "/VERYSILENT /NORESTART /NORESTARTAPPLICATIONS /SUPPRESSMSGBOXES",
            "PostInstall": []
        },
        "Virtual": {
            "Arguments": "/VERYSILENT /NORESTART /NORESTARTAPPLICATIONS /SUPPRESSMSGBOXES",
            "PostInstall": []
        }
    }
}