-
Notifications
You must be signed in to change notification settings - Fork 343
/
Copy pathenshroudedupdates.json
27 lines (27 loc) · 2.31 KB
/
enshroudedupdates.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
[
{
"UpdateStageName": "SteamCMD Download",
"UpdateSourcePlatform": "All",
"UpdateSource": "SteamCMD",
"UpdateSourceData": "2278520",
"UpdateSourceArgs": "1203620",
"ForceDownloadPlatform": "Windows"
},
{
"UpdateStageName": "Enshrouded_server.json Download",
"UpdateSourcePlatform": "All",
"UpdateSource": "FetchURL",
"UpdateSourceData": "https://raw.githubusercontent.com/CubeCoders/AMPTemplates/main/enshroudedserver.json",
"UpdateSourceArgs": "enshrouded_server.json",
"UpdateSourceTarget": "{{$FullBaseDir}}",
"OverwriteExistingFiles": false
},
{
"UpdateStageName": "Proton GE Download",
"UpdateSourcePlatform": "Linux",
"UpdateSource": "Executable",
"UpdateSourceData": "/bin/bash",
"UpdateSourceArgs": "-c \"mkdir -p \\\"{{$FullRootDir}}.proton/compatdata\\\" \\\"{{$FullBaseDir}}.steam/steam\\\" \\\"{{$FullBaseDir}}.steam/sdk32\\\" \\\"{{$FullBaseDir}}.steam/sdk64\\\" && \\cp -f \\\"{{$FullRootDir}}linux32/steamclient.so\\\" \\\"{{$FullBaseDir}}.steam/sdk32/\\\" && \\cp -f \\\"{{$FullRootDir}}linux64/steamclient.so\\\" \\\"{{$FullBaseDir}}.steam/sdk64/\\\" && rm -rf \\\"{{$FullRootDir}}.proton/compatdata/\\\"* >/dev/null 2>&1; ProtonVersion=\\\"{{SpecificReleaseVersion}}\\\" && if [[ -z \\\"$ProtonVersion\\\" ]]; then DownloadURL=$(wget -qO- https://api.github.com/repos/GloriousEggroll/proton-ge-custom/releases/latest | grep browser_download_url | cut -d\\\\\\\" -f4 | grep .tar.gz) && wget -qO GE-Proton.tar.gz $DownloadURL && echo \\\"Latest Proton GE version downloaded\\\"; elif [[ ! \\\"$ProtonVersion\\\" =~ ^GE-Proton[0-9]+-[0-9]+$ ]]; then echo \\\"Invalid Proton GE release version format specified\\\" && exit 1; else wget -qO GE-Proton.tar.gz https://github.com/GloriousEggroll/proton-ge-custom/releases/download/$ProtonVersion/$ProtonVersion.tar.gz && echo \\\"Proton GE version $ProtonVersion downloaded\\\"; fi && tar -xzf GE-Proton.tar.gz -C \\\"{{$FullRootDir}}.proton\\\" --strip-components=1; rm GE-Proton.tar.gz && { STEAM_COMPAT_DATA_PATH=\\\"{{$FullRootDir}}.proton/compatdata\\\" STEAM_COMPAT_CLIENT_INSTALL_PATH=\\\"{{$FullBaseDir}}.steam/steam\\\" {{$FullRootDir}}.proton/proton PROTON_LOG=1 >/dev/null 2>&1; exit 0; }\"",
"SkipOnFailure": false
}
]