forked from Greelan/AMPTemplates
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbeammpupdates.json
51 lines (51 loc) · 1.84 KB
/
beammpupdates.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
51
[
{
"UpdateStageName":"Binary and Symlink Removal",
"UpdateSourcePlatform":"Linux",
"UpdateSource":"Executable",
"UpdateSourceData":"/bin/bash",
"UpdateSourceArgs":"-c 'rm {{$FullBaseDir}}BeamMP-Server*'"
},
{
"UpdateStageName":"BeamMP Download",
"UpdateSourcePlatform":"Windows",
"UpdateSource":"GithubRelease",
"UpdateSourceData":"BeamMP-Server.exe",
"UpdateSourceArgs":"BeamMP/BeamMP-Server",
"UpdateSourceTarget":"{{$FullBaseDir}}",
"UnzipUpdateSource":false,
"OverwriteExistingFiles":true
},
{
"UpdateStageName":"BeamMP Download",
"UpdateSourcePlatform":"Linux",
"UpdateSource":"GithubRelease",
"UpdateSourceData":"BeamMP-Server-{{ServerVersion}}",
"UpdateSourceArgs":"BeamMP/BeamMP-Server",
"UpdateSourceTarget":"{{$FullBaseDir}}",
"UnzipUpdateSource":false,
"OverwriteExistingFiles":true
},
{
"UpdateStageName":"Set Executable Flag",
"UpdateSourcePlatform":"Linux",
"UpdateSource":"SetExecutableFlag",
"UpdateSourceArgs":"{{$FullBaseDir}}BeamMP-Server-{{ServerVersion}}"
},
{
"UpdateStageName":"Binary Symlink Creation",
"UpdateSourcePlatform":"Linux",
"UpdateSource":"Executable",
"UpdateSourceData":"/bin/bash",
"UpdateSourceArgs":"-c 'cd ./beammp/serverfiles/ && ln -s BeamMP-Server-{{ServerVersion}} BeamMP-Server'"
},
{
"UpdateStageName":"Config File Download",
"UpdateSourcePlatform":"All",
"UpdateSource":"FetchURL",
"UpdateSourceData":"https://github.com/CubeCoders/AMPTemplates/raw/main/beammpServerConfig.toml",
"UpdateSourceTarget":"{{$FullBaseDir}}",
"UpdateSourceArgs":"ServerConfig.toml",
"OverwriteExistingFiles":false
}
]