[
    {
        "UpdateStageName": "Update",
        "UpdateSourcePlatform": "All",
        "UpdateSource": "SteamCMD",
        "UpdateSourceData": "573090",
        "UpdateSourceArgs": "573090",
        "UpdateSourceTarget": "{{$FullBaseDir}}",
        "ForceDownloadPlatform": "Windows",
        "SkipOnFailure": false
    },
    {
        "UpdateStageName": "Config Template Download",
        "UpdateSourcePlatform": "All",
        "UpdateSource": "FetchURL",
        "OverwriteExistingFiles": false,
        "UpdateSourceData": "https://raw.githubusercontent.com/CubeCoders/AMPTemplates/main/stormworksserver_config.xml",
        "UpdateSourceTarget": "{{$FullBaseDir}}",
        "UpdateSourceArgs": "server_config.xml",
        "SkipOnFailure": false
    },
    {
        "UpdateStageName": "Initialise Wine",
        "UpdateSourcePlatform": "Linux",
        "UpdateSource": "Executable",
        "UpdateSourceData": "/bin/bash",
        "UpdateSourceArgs": "-c \"rm -rf \\\"{{$FullRootDir}}.wine\\\" >/dev/null 2>&1; WINEPREFIX=\\\"{{$FullRootDir}}.wine\\\" WINEARCH=win64 WINEDEBUG=-all /usr/bin/wineboot --init; rm -f \\\"{{$FullRootDir}}.wine/drive_c/windows/syswow64/cmd.exe\\\" >/dev/null 2>&1\"",
        "SkipOnFailure": false
    }
]