repair check kernel problem

This commit is contained in:
rain-gfd 2023-05-02 17:00:20 +08:00
parent b277bb25b4
commit 0e21b7187d
1 changed files with 2 additions and 1 deletions

View File

@ -13,7 +13,8 @@ CheckEnv(){
exit
fi
# 检测内核
lsmod | grep -e ashmem_linux -e binder_linux
sudo modprobe binder_linux
lsmod | grep -e binder_linux
if [[ $? != 0 ]]; then
zenity --error --no-wrap '--text=您的系统无法安装 UEngine原因当前内核不支持 binder 模块,请安装支持 binder 模块的 Linux 内核'
exit