run_daemon加载binder功能

This commit is contained in:
gfdgd_xi 2023-05-02 13:22:17 +08:00
parent 06c763d862
commit 27817c824e
1 changed files with 4 additions and 0 deletions

View File

@ -45,6 +45,10 @@ if [[ $? != 0 ]]; then
notify-send -i /opt/apps/com.gitee.uengine.runner.spark/files/icon.png "未安装 UEngine结束" -a uengine-runner
exit
fi
if [[ -f /usr/bin/uengine-loading-binder ]]; then
echo 加载 binder
pkexec /usr/bin/uengine-loading-binder
fi
notify-send -i /opt/apps/com.gitee.uengine.runner.spark/files/icon.png "UEngine 服务启动完成" -a uengine-runner
bad=0
# 守护进程,防止异常退出