取消只能在ubuntu安装的限制

This commit is contained in:
gfdgd_xi 2023-05-02 19:40:05 +08:00
parent abf6d4903f
commit 5a0aa5160c
1 changed files with 4 additions and 4 deletions

View File

@ -3,10 +3,10 @@
CheckEnv(){
# 检测是不是 Ubuntu
lsb_release -i | grep -i ubuntu
if [[ $? != 0 ]]; then
zenity --error --no-wrap '--text=您的系统无法安装 UEngine原因此脚本只支持 Ubuntu'
exit
fi
# if [[ $? != 0 ]]; then
# zenity --error --no-wrap '--text=您的系统无法安装 UEngine原因此脚本只支持 Ubuntu'
# exit
# fi
# 检测架构
if [[ `arch` != "x86_64" ]]; then
zenity --error --no-wrap '--text=您的系统无法安装 UEngine原因暂不支持非 X86 架构'