新增ARM架构非飞腾CPU识别

This commit is contained in:
2024-01-29 21:27:47 +08:00
parent 83e34a983c
commit 3fbfb38a53
5 changed files with 19 additions and 5 deletions

View File

@@ -13,6 +13,11 @@ else
echo "系统:$version"
if [ "$versionLower" = "deepin" ] || [ "$versionLower" = "uos" ]; then
echo "此系统为 Deepin/UOS使用 apt 安装"
lscpu | grep "FT-"
if [[ $? != 0 ]] && [[ `arch` == "aarch64" ]]; then
zenity --info --text="UEngine 运行器暂不支持非飞腾CPU"
exit
fi
zenity --question --text="您还未安装 UEngine是否现在安装" --no-wrap
if [[ $? == 0 ]]; then
"$dir/launch.sh" deepin-terminal -C "pkexec apt install uengine -y"