1 Star 0 Fork 0

honggg/AirSim

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
install_unreal.sh 732 Bytes
一键复制 编辑 原始数据 按行查看 历史
Shital Shah 提交于 2018-04-27 22:38 . Better Linux upgrade steps
#! /bin/bash
# get path of current script: https://stackoverflow.com/a/39340259/207661
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
pushd "$SCRIPT_DIR" >/dev/null
set -e
set -x
#confirm unreal install directory
UnrealDir=$1
if [[ !(-z "UnrealDir") ]]; then
UnrealDir="$SCRIPT_DIR/UnrealEngine"
fi
read -p "Unreal will be installed in $UnrealDir. To change it invoke script with path argument. Continue? " -n 1 -r
echo
if [[ ! $REPLY =~ ^[Yy]$ ]]
then
popd >/dev/null
exit 0
fi
#install unreal
if [[ !(-d "$UnrealDir") ]]; then
git clone -b 4.18 https://github.com/EpicGames/UnrealEngine.git "$UnrealDir"
pushd "$UnrealDir" >/dev/null
./Setup.sh
./GenerateProjectFiles.sh
make
popd >/dev/null
fi
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/honggg/AirSim.git
git@gitee.com:honggg/AirSim.git
honggg
AirSim
AirSim
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385