Clean up update stages (#186)
This commit is contained in:
60
velorenupdates.json
Normal file
60
velorenupdates.json
Normal file
@@ -0,0 +1,60 @@
|
||||
[
|
||||
{
|
||||
"UpdateStageName":"Server Download",
|
||||
"UpdateSourcePlatform":"Windows",
|
||||
"UpdateSource":"FetchURL",
|
||||
"UpdateSourceData":"https://download.veloren.net/latest/windows/x86_64/nightly",
|
||||
"UpdateSourceArgs":"nightly.zip",
|
||||
"UpdateSourceTarget":"{{$FullRootDir}}",
|
||||
"UnzipUpdateSource":true,
|
||||
"OverwriteExistingFiles":true,
|
||||
"DeleteAfterExtract":true
|
||||
},
|
||||
{
|
||||
"UpdateStageName":"Server Download",
|
||||
"UpdateSourcePlatform":"Linux",
|
||||
"UpdateSource":"FetchURL",
|
||||
"UpdateSourceData":"https://download.veloren.net/latest/linux/x86_64/nightly",
|
||||
"UpdateSourceArgs":"nightly.zip",
|
||||
"UpdateSourceTarget":"{{$FullRootDir}}",
|
||||
"UnzipUpdateSource":true,
|
||||
"OverwriteExistingFiles":true,
|
||||
"DeleteAfterExtract":true
|
||||
},
|
||||
{
|
||||
"UpdateStageName":"Set Executable Flag",
|
||||
"UpdateSourcePlatform":"Linux",
|
||||
"UpdateSource":"SetExecutableFlag",
|
||||
"UpdateSourceArgs":"{{$FullRootDir}}veloren-server-cli"
|
||||
},
|
||||
{
|
||||
"UpdateStageName":"Config Directory Creation",
|
||||
"UpdateSourcePlatform":"All",
|
||||
"UpdateSource":"CreateDirectory",
|
||||
"UpdateSourceArgs":"{{$FullBaseDir}}userdata/server/server_config"
|
||||
},
|
||||
{
|
||||
"UpdateStageName":"Settings Template Download",
|
||||
"UpdateSourcePlatform":"All",
|
||||
"UpdateSource":"FetchURL",
|
||||
"UpdateSourceData":"https://raw.githubusercontent.com/CubeCoders/AMPTemplates/main/velorensettings.ron",
|
||||
"UpdateSourceArgs":"AMP_settings.ron",
|
||||
"UpdateSourceTarget":"{{$FullBaseDir}}userdata/server/server_config/",
|
||||
"OverwriteExistingFiles":false
|
||||
},
|
||||
{
|
||||
"UpdateStageName":"Start Server",
|
||||
"UpdateSourcePlatform":"All",
|
||||
"UpdateSource":"StartApplication"
|
||||
},
|
||||
{
|
||||
"UpdateStageName":"Wait For Server Start",
|
||||
"UpdateSourcePlatform":"All",
|
||||
"UpdateSource":"WaitForStartupComplete"
|
||||
},
|
||||
{
|
||||
"UpdateStageName":"Stop Server",
|
||||
"UpdateSourcePlatform":"All",
|
||||
"UpdateSource":"ShutdownApplication"
|
||||
}
|
||||
]
|
||||
Reference in New Issue
Block a user