2022-09-17 04:28:49 +02:00
|
|
|
[
|
|
|
|
{
|
|
|
|
"UpdateStageName":"Server Download",
|
|
|
|
"UpdateSourcePlatform":"All",
|
|
|
|
"UpdateSource":"FetchURL",
|
2022-11-09 20:26:04 +01:00
|
|
|
"UpdateSourceData":"https://ci.opencollab.dev/job/GeyserMC/job/Geyser/job/master/lastStableBuild/artifact/bootstrap/standalone/build/libs/Geyser-Standalone.jar",
|
|
|
|
"UpdateSourceArgs":"Geyser.jar",
|
2022-09-17 04:28:49 +02:00
|
|
|
"UpdateSourceTarget":"{{$FullRootDir}}",
|
|
|
|
"OverwriteExistingFiles":true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"UpdateStageName":"Java Download",
|
|
|
|
"UpdateSourcePlatform":"Windows",
|
|
|
|
"UpdateSource":"FetchURL",
|
|
|
|
"UpdateSourceData":"https://download.oracle.com/java/{{JavaVersion}}/latest/jdk-{{JavaVersion}}_windows-x64_bin.zip",
|
|
|
|
"UpdateSourceTarget":"{{$FullRootDir}}",
|
|
|
|
"UnzipUpdateSource":true,
|
|
|
|
"OverwriteExistingFiles":true,
|
|
|
|
"DeleteAfterExtract":true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"UpdateStageName":"Remove Old Java Directory",
|
|
|
|
"UpdateSourcePlatform":"Windows",
|
|
|
|
"UpdateSource":"Executable",
|
|
|
|
"UpdateSourceData":"cmd.exe",
|
|
|
|
"UpdateSourceArgs":"/C RD /S /Q .\\geyser\\java"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"UpdateStageName":"Java Download",
|
|
|
|
"UpdateSourcePlatform":"Linux",
|
|
|
|
"UpdateSource":"FetchURL",
|
|
|
|
"UpdateSourceData":"https://download.oracle.com/java/{{JavaVersion}}/latest/jdk-{{JavaVersion}}_linux-x64_bin.tar.gz",
|
2023-05-08 06:30:13 +02:00
|
|
|
"UpdateSourceArch":"x86_64",
|
|
|
|
"UpdateSourceTarget":"{{$FullRootDir}}",
|
|
|
|
"UnzipUpdateSource":true,
|
|
|
|
"OverwriteExistingFiles":true,
|
|
|
|
"DeleteAfterExtract":true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"UpdateStageName":"Java Download",
|
|
|
|
"UpdateSourcePlatform":"Linux",
|
|
|
|
"UpdateSource":"FetchURL",
|
|
|
|
"UpdateSourceData":"https://download.oracle.com/java/{{JavaVersion}}/latest/jdk-{{JavaVersion}}_linux-aarch64_bin.tar.gz",
|
|
|
|
"UpdateSourceArch":"aarch64",
|
2022-09-17 04:28:49 +02:00
|
|
|
"UpdateSourceTarget":"{{$FullRootDir}}",
|
|
|
|
"UnzipUpdateSource":true,
|
|
|
|
"OverwriteExistingFiles":true,
|
|
|
|
"DeleteAfterExtract":true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"UpdateStageName":"Pause Update Stages",
|
|
|
|
"UpdateSourcePlatform":"Windows",
|
|
|
|
"UpdateSource":"Pause",
|
|
|
|
"UpdateSourceArgs":"1"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"UpdateStageName":"Rename New Java Directory",
|
|
|
|
"UpdateSourcePlatform":"Windows",
|
|
|
|
"UpdateSource":"Executable",
|
|
|
|
"UpdateSourceData":"cmd.exe",
|
|
|
|
"UpdateSourceArgs":"/C move .\\geyser\\jdk* .\\geyser\\java"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"UpdateStageName":"Replace Java Directory",
|
|
|
|
"UpdateSourcePlatform":"Linux",
|
|
|
|
"UpdateSource":"Executable",
|
|
|
|
"UpdateSourceData":"/bin/bash",
|
2023-05-08 06:30:13 +02:00
|
|
|
"UpdateSourceArgs":"-c 'rm -rf ./geyser/java ; mv ./geyser/jdk* ./geyser/java ; chmod +x ./geyser/java/bin/java'"
|
2022-09-17 04:28:49 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"UpdateStageName":"Pause Update Stages",
|
|
|
|
"UpdateSourcePlatform":"All",
|
|
|
|
"UpdateSource":"Pause",
|
|
|
|
"UpdateSourceArgs":"2"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"UpdateStageName":"Start Server",
|
|
|
|
"UpdateSourcePlatform":"All",
|
|
|
|
"UpdateSource":"StartApplication"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"UpdateStageName":"Wait For Server Start",
|
|
|
|
"UpdateSourcePlatform":"All",
|
|
|
|
"UpdateSource":"WaitForStartupComplete"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"UpdateStageName":"Stop Server",
|
|
|
|
"UpdateSourcePlatform":"All",
|
|
|
|
"UpdateSource":"ShutdownApplication"
|
|
|
|
}
|
|
|
|
]
|