[
    {
        "UpdateStageName": "Check Installation",
        "UpdateSourcePlatform": "Linux",
        "UpdateSource": "Executable",
        "UpdateSourceData": "/bin/bash",
        "UpdateSourceArgs": "-c \"cd foundry-vtt/server && if [[ ! -f {{app}} ]]; then echo \\\"You must specify the Node.js version (not Linux version) of the Foundry VTT server for AMP to install under Server Download URL in AMP's settings, and select the Server Version accordingly. Aborting\\\" && exit 1; else exit 0; fi\"",
        "SkipOnFailure": false
    },
    {
        "UpdateStageName": "Check Installation",
        "UpdateSourcePlatform": "Windows",
        "UpdateSource": "Executable",
        "UpdateSourceData": "powershell.exe",
        "UpdateSourceArgs": "-NoProfile -Command \"Set-Location -Path 'foundry-vtt/server'; if (!(Test-Path '{{app}}')) { Write-Host \\\"You must specify the Node.js version (not Windows version) of the Foundry VTT server for AMP to install under Server Download URL in AMP's settings, and select the Server Version accordingly. Aborting\\\"; exit 1 } else { exit 0 }\"",
        "SkipOnFailure": false
    }
]