70 lines
2.9 KiB
JSON
70 lines
2.9 KiB
JSON
[
|
|
{
|
|
"UpdateStageName":"AppImage Directory Creation",
|
|
"UpdateSourcePlatform":"Linux",
|
|
"UpdateSource":"CreateDirectory",
|
|
"UpdateSourceArgs":"{{$FullRootDir}}.appimage"
|
|
},
|
|
{
|
|
"UpdateStageName":"Minetest Download",
|
|
"UpdateSourcePlatform":"Windows",
|
|
"UpdateSource":"FetchURL",
|
|
"UpdateSourceData":"https://github.com/minetest/minetest/releases/download/{{ServerVersion}}/minetest-{{ServerVersion}}-win64.zip",
|
|
"UpdateSourceTarget":"{{$FullBaseDir}}",
|
|
"UnzipUpdateSource":true,
|
|
"OverwriteExistingFiles":true,
|
|
"DeleteAfterExtract":true
|
|
},
|
|
{
|
|
"UpdateStageName":"Minetest Copy",
|
|
"UpdateSourcePlatform":"Windows",
|
|
"UpdateSource":"Executable",
|
|
"UpdateSourceData":"cmd.exe",
|
|
"UpdateSourceArgs":"/C xcopy /E /Y /I minetest\\server\\minetest-{{ServerVersion}}-win64\\* minetest\\server\\ && rmdir /Q /S minetest\\server\\minetest-{{ServerVersion}}-win64"
|
|
},
|
|
{
|
|
"UpdateStageName":"Minetest Download",
|
|
"UpdateSourcePlatform":"Linux",
|
|
"UpdateSource":"FetchURL",
|
|
"UpdateSourceData":"https://github.com/An0n3m0us/Minetest-AppImages/releases/download/{{ServerVersion}}/Minetest-{{ServerVersion}}-x86_64.AppImage",
|
|
"UpdateSourceTarget":"{{$FullRootDir}}.appimage"
|
|
},
|
|
{
|
|
"UpdateStageName":"Minetest Extract",
|
|
"UpdateSourcePlatform":"Linux",
|
|
"UpdateSource":"Executable",
|
|
"UpdateSourceData":"/bin/bash",
|
|
"UpdateSourceArgs":"-c 'cd ./minetest/.appimage && chmod +x Minetest-{{ServerVersion}}-x86_64.AppImage && ./Minetest-{{ServerVersion}}-x86_64.AppImage --appimage-extract && rm -f Minetest-{{ServerVersion}}-x86_64.AppImage'"
|
|
},
|
|
{
|
|
"UpdateStageName":"AppImage Directory Symlink Creation",
|
|
"UpdateSourcePlatform":"Linux",
|
|
"UpdateSource":"Executable",
|
|
"UpdateSourceData":"/bin/bash",
|
|
"UpdateSourceArgs":"-c 'cd ./minetest && rm -rf server ; ln -s .appimage/squashfs-root/usr server'"
|
|
},
|
|
{
|
|
"UpdateStageName":"Mods Directory Creation",
|
|
"UpdateSourcePlatform":"Linux",
|
|
"UpdateSource":"CreateDirectory",
|
|
"UpdateSourceArgs":"{{$FullBaseDir}}mods"
|
|
},
|
|
{
|
|
"UpdateStageName":"Game Config File Copy",
|
|
"UpdateSourcePlatform":"Windows",
|
|
"UpdateSource":"CopyFilePath",
|
|
"UpdateSourceData":"{{$FullBaseDir}}minetest.conf",
|
|
"UpdateSourceArgs":"{{$FullBaseDir}}minetest.conf.example",
|
|
"OverwriteExistingFiles":false
|
|
},
|
|
{
|
|
"UpdateStageName":"Game Config File Download",
|
|
"UpdateSourcePlatform":"Linux",
|
|
"UpdateSource":"FetchURL",
|
|
"UpdateSourceData":"https://raw.githubusercontent.com/minetest/minetest/master/minetest.conf.example",
|
|
"UpdateSourceArgs":"minetest.conf",
|
|
"UpdateSourceTarget":"{{$FullBaseDir}}",
|
|
"OverwriteExistingFiles":false
|
|
}
|
|
]
|