{
    "version": "1.5.857",
    "description": "Server kit for Mumble, a low-latency and high quality voice chat primarily intended for use while gaming.",
    "homepage": "https://www.mumble.info/",
    "license": "BSD-3-Clause",
    "architecture": {
        "64bit": {
            "url": "https://github.com/mumble-voip/mumble/releases/download/v1.5.857/mumble_server-1.5.857.x64.exe",
            "hash": "8f8765bd347e086a82e12d4e5a2bf085108b06284b2de195f7aa10b0cb2af817"
        }
    },
    "pre_install": [
        "'murmur.log', 'murmur.sqlite' | ForEach-Object {",
        "  if(!(Test-Path \"$persist_dir\\$_\")) {New-Item \"$dir\\$_\" -ItemType File | Out-Null}",
        "}"
    ],
    "installer": {
        "script": [
            "Expand-DarkArchive \"$dir\\$fname\" \"$dir\\tmp\" -Removal",
            "Expand-MsiArchive \"$dir\\tmp\\AttachedContainer\\mumble_server-$version-x64.msi\" \"$dir\\tmp\\msi\"",
            "Move-Item \"$dir\\tmp\\msi\\ProgramFiles64Folder\\Mumble\\server\\*\" \"$dir\" -Force",
            "Remove-Item \"$dir\\tmp\" -Recurse"
        ]
    },
    "bin": "mumble-server.exe",
    "shortcuts": [
        [
            "mumble-server.exe",
            "Mumble"
        ]
    ],
    "persist": [
        "murmur.log",
        "murmur.sqlite"
    ],
    "checkver": {
        "github": "https://github.com/mumble-voip/mumble"
    },
    "autoupdate": {
        "architecture": {
            "64bit": {
                "url": "https://github.com/mumble-voip/mumble/releases/download/v$version/mumble_server-$version.x64.exe"
            }
        }
    }
}
