取消只能在ubuntu安装的限制
This commit is contained in:
@@ -3,10 +3,10 @@
|
|||||||
CheckEnv(){
|
CheckEnv(){
|
||||||
# 检测是不是 Ubuntu
|
# 检测是不是 Ubuntu
|
||||||
lsb_release -i | grep -i ubuntu
|
lsb_release -i | grep -i ubuntu
|
||||||
if [[ $? != 0 ]]; then
|
# if [[ $? != 0 ]]; then
|
||||||
zenity --error --no-wrap '--text=您的系统无法安装 UEngine,原因:此脚本只支持 Ubuntu'
|
# zenity --error --no-wrap '--text=您的系统无法安装 UEngine,原因:此脚本只支持 Ubuntu'
|
||||||
exit
|
# exit
|
||||||
fi
|
# fi
|
||||||
# 检测架构
|
# 检测架构
|
||||||
if [[ `arch` != "x86_64" ]]; then
|
if [[ `arch` != "x86_64" ]]; then
|
||||||
zenity --error --no-wrap '--text=您的系统无法安装 UEngine,原因:暂不支持非 X86 架构'
|
zenity --error --no-wrap '--text=您的系统无法安装 UEngine,原因:暂不支持非 X86 架构'
|
||||||
|
|||||||
Reference in New Issue
Block a user