forked from CubeCoders/AMPTemplates
-
Notifications
You must be signed in to change notification settings - Fork 0
/
beammpupdates.json
83 lines (83 loc) · 3.08 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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
[
{
"UpdateStageName":"Binary and Symlink Removal",
"UpdateSourcePlatform":"Linux",
"UpdateSource":"Executable",
"UpdateSourceData":"/bin/bash",
"UpdateSourceArgs":"-c 'rm {{$FullBaseDir}}BeamMP-Server* >/dev/null 2>&1'",
"SkipOnFailure":true
},
{
"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}}.x86_64",
"UpdateSourceArgs":"BeamMP/BeamMP-Server",
"UpdateSourceArch":"x86_64",
"UpdateSourceTarget":"{{$FullBaseDir}}",
"UnzipUpdateSource":false,
"OverwriteExistingFiles":true
},
{
"UpdateStageName":"BeamMP Download",
"UpdateSourcePlatform":"Linux",
"UpdateSource":"GithubRelease",
"UpdateSourceData":"BeamMP-Server.{{ServerVersion}}.arm64",
"UpdateSourceArgs":"BeamMP/BeamMP-Server",
"UpdateSourceArch":"aarch64",
"UpdateSourceTarget":"{{$FullBaseDir}}",
"UnzipUpdateSource":false,
"OverwriteExistingFiles":true
},
{
"UpdateStageName":"Set Executable Flag",
"UpdateSourcePlatform":"Linux",
"UpdateSource":"SetExecutableFlag",
"UpdateSourceArgs":"{{$FullBaseDir}}BeamMP-Server.{{ServerVersion}}.x86_64",
"UpdateSourceArch":"x86_64"
},
{
"UpdateStageName":"Set Executable Flag",
"UpdateSourcePlatform":"Linux",
"UpdateSource":"SetExecutableFlag",
"UpdateSourceArgs":"{{$FullBaseDir}}BeamMP-Server.{{ServerVersion}}.arm64",
"UpdateSourceArch":"aarch64"
},
{
"UpdateStageName":"Binary Symlink Creation",
"UpdateSourcePlatform":"Linux",
"UpdateSource":"Executable",
"UpdateSourceData":"/bin/bash",
"UpdateSourceArgs":"-c 'cd ./beammp/serverfiles/ && ln -s BeamMP-Server.{{ServerVersion}}.x86_64 BeamMP-Server'",
"UpdateSourceArch":"x86_64",
"SkipOnFailure":false
},
{
"UpdateStageName":"Binary Symlink Creation",
"UpdateSourcePlatform":"Linux",
"UpdateSource":"Executable",
"UpdateSourceData":"/bin/bash",
"UpdateSourceArgs":"-c 'cd ./beammp/serverfiles/ && ln -s BeamMP-Server.{{ServerVersion}}.arm64 BeamMP-Server'",
"UpdateSourceArch":"aarch64",
"SkipOnFailure":false
},
{
"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
}
]