新增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

@@ -3,8 +3,13 @@
cat /etc/deepin_version | grep 23
if [[ $? != 0 ]]; then
# 如果不是
aapt "$@"
exit $?
# 判断系统是否有安装 aapt
which aapt > /dev/null
if [[ $? == 0 ]]; then
# 如果有安装
aapt "$@"
exit $?
fi
fi
# 如果是
programPath=$(cd $(dirname $0); pwd)