Manifests/MattermostDesktop.json

{
    "Name": "Mattermost Desktop",
    "Source": "https://github.com/mattermost/desktop",
    "Get": {
        "Update": {
            "Uri": "https://releases.mattermost.com/desktop/latest.yml",
            "Match": {
                "Version": "^version:\\s+(\\d+(\\.\\d+){1,3})",
                "Url": "^\\s+-\\surl:\\s(.*)",
                "Sha512": "^\\s+sha512:\\s+(.*)",
                "Size": "^\\s+size:\\s+(.*)"
            }
        },
        "Download": {
            "Uri": [
                "https://releases.mattermost.com/desktop/#version/mattermost-desktop-setup-#version-win.exe",
                "https://releases.mattermost.com/desktop/#version/mattermost-desktop-#version-win-x64.msi",
                "https://releases.mattermost.com/desktop/#version/mattermost-desktop-#version-win-x86.msi"
            ]
        }
    },
    "Install": {
        "Setup": "mattermost-desktop-*.exe|mattermost-desktop-*.msi",
        "Physical": {
            "Arguments": "",
            "PostInstall": []
        },
        "Virtual": {
            "Arguments": "",
            "PostInstall": []
        }
    }
}