This commit is contained in:
parent
bc10d0ecca
commit
b475cec2cd
|
@ -46,9 +46,11 @@ if [[ $? != 0 ]]; then
|
|||
exit
|
||||
fi
|
||||
uname -r | grep 5.17.3
|
||||
if [[ -f /usr/bin/uengine-loading-binder ]] && [[ $? != 0 ]]; then
|
||||
echo 加载 binder
|
||||
pkexec /usr/bin/uengine-loading-binder
|
||||
if [[ $? != 0 ]]; then
|
||||
if [[ -f /usr/bin/uengine-loading-binder ]]; then
|
||||
echo 加载 binder
|
||||
pkexec /usr/bin/uengine-loading-binder
|
||||
fi
|
||||
fi
|
||||
notify-send -i /opt/apps/com.gitee.uengine.runner.spark/files/icon.png "UEngine 服务启动完成" -a uengine-runner
|
||||
bad=0
|
||||
|
@ -72,4 +74,4 @@ while [[ true ]]; do
|
|||
echo "UEngine 服务异常结束,重新启动($bad次)"
|
||||
notify-send -i /opt/apps/com.gitee.uengine.runner.spark/files/icon.png "UEngine 服务异常结束,重新启动($bad次)" -a uengine-runner
|
||||
|
||||
done
|
||||
done
|
||||
|
|
Loading…
Reference in New Issue