Manifests/GitForWindows.json

{
    "Name": "Git for Windows",
    "Source": "https://gitforwindows.org/",
    "Get": {
        "Uri": "https://api.github.com/repos/git-for-windows/git/releases/latest",
        "MatchVersion": "(\\d+.*)",
        "OldMatchVersion": "(\\d+(\\.\\d+){1,4}).*",
        "MatchFileTypes": "\\.exe$|\\.msi$",
        "VersionReplace": [
            ".windows",
            ""
        ]
    },
    "Install": {
        "Setup": "Git*.exe",
        "Physical": {
            "Arguments": "/VERYSILENT /NORESTART /NOCANCEL /SP- /CLOSEAPPLICATIONS /RESTARTAPPLICATIONS /COMPONENTS=\"icons,ext\\reg\\shellhere,assoc,assoc_sh\"",
            "PostInstall": []
        },
        "Virtual": {
            "Arguments": "/VERYSILENT /NORESTART /NOCANCEL /SP- /CLOSEAPPLICATIONS /RESTARTAPPLICATIONS /COMPONENTS=\"icons,ext\\reg\\shellhere,assoc,assoc_sh\"",
            "PostInstall": []
        }
    }
}