forked from CubeCoders/AMPTemplates
-
Notifications
You must be signed in to change notification settings - Fork 0
/
subsistenceupdates.json
50 lines (50 loc) · 1.63 KB
/
subsistenceupdates.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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
[
{
"UpdateStageName":"SteamCMD Download",
"UpdateSourcePlatform":"All",
"UpdateSource":"SteamCMD",
"UpdateSourceData":"1362640",
"UpdateSourceArgs":"418030",
"ForceDownloadPlatform":"Windows",
"UpdateSourceVersion":"{{ServerBranch}}"
},
{
"UpdateStageName":"Initialise Wine",
"UpdateSourcePlatform":"Linux",
"UpdateSource":"Executable",
"UpdateSourceData":"/bin/bash",
"UpdateSourceArgs":"-c 'WINEPREFIX=\"{{$FullRootDir}}.wine\" WINEARCH=win64 WINEDEBUG=-all /usr/bin/wineboot --init --update'"
},
{
"UpdateStageName":"Winescript Download",
"UpdateSourcePlatform":"Linux",
"UpdateSource":"FetchURL",
"UpdateSourceData":"https://raw.githubusercontent.com/CubeCoders/AMPTemplates/main/subsistencewinescript.sh",
"UpdateSourceArgs":"winescript.sh",
"UpdateSourceTarget":"{{$FullInstanceDir}}",
"OverwriteExistingFiles":true
},
{
"UpdateStageName":"Install Windows Components",
"UpdateSourcePlatform":"Linux",
"UpdateSource":"Executable",
"UpdateSourceData":"/bin/bash",
"UpdateSourceArgs":"./winescript.sh"
},
{
"UpdateStageName":"Start Server",
"UpdateSourcePlatform":"All",
"UpdateSource":"StartApplication"
},
{
"UpdateStageName":"Pause Update Stages",
"UpdateSourcePlatform":"All",
"UpdateSource":"Pause",
"UpdateSourceArgs":"7"
},
{
"UpdateStageName":"Stop Server",
"UpdateSourcePlatform":"All",
"UpdateSource":"ShutdownApplication"
}
]