5 Star 6 Fork 1

Gitee 极速下载/Cuberite

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
此仓库是为了提升国内下载速度的镜像仓库,每日同步一次。 原始仓库: https://github.com/cuberite/cuberite
克隆/下载
easyinstall.sh 1.44 KB
一键复制 编辑 原始数据 按行查看 历史
#!/bin/sh
{
# NOTE: compile.sh looks for this file in order to determine if this is the Cuberite folder.
# Please modify compile.sh if you want to rename or remove this file.
# This file was chosen arbitrarily and it is a good enough indicator that we are in the Cuberite folder.
set -e
KERNEL=$(uname -s)
echo "Identifying kernel: $KERNEL"
if [ "$KERNEL" = "Linux" ]; then
PLATFORM=$(uname -m)
echo "Identifying platform: $PLATFORM"
case $PLATFORM in
"i686") DOWNLOADURL="https://download.cuberite.org/linux-i686/Cuberite.tar.gz" ;;
"x86_64") DOWNLOADURL="https://download.cuberite.org/linux-x86_64/Cuberite.tar.gz" ;;
# Assume that all arm devices are a raspi for now.
arm*) DOWNLOADURL="https://download.cuberite.org/linux-armhf-raspbian/Cuberite.tar.gz" ;;
# Allow install on Raspberry Pi 4 Ubuntu x64 (AArch64) using the ARM builds.
"aarch64") DOWNLOADURL="https://download.cuberite.org/linux-aarch64/Cuberite.tar.gz"
esac
elif [ "$KERNEL" = "Darwin" ]; then
# All Darwins we care about are x86_64
DOWNLOADURL="https://download.cuberite.org/darwin-x86_64/Cuberite.tar.gz"
#elif [ "$KERNEL" = "FreeBSD" ]; then
# DOWNLOADURL="https://builds.cuberite.org/job/Cuberite%20FreeBSD%20x64%20Master/lastSuccessfulBuild/artifact/Cuberite.tar.gz"
else
echo "Unsupported kernel."
exit 1
fi
echo "Downloading precompiled binaries."
curl -Ls $DOWNLOADURL | tar -xzf -
echo "Done."
echo "Cuberite is now installed, run using 'cd Server; ./Cuberite'."
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/mirrors/Cuberite.git
git@gitee.com:mirrors/Cuberite.git
mirrors
Cuberite
Cuberite
master

搜索帮助