change
This commit is contained in:
parent
ef1b7800c6
commit
b358b56974
|
@ -46,9 +46,11 @@ if [[ $? != 0 ]]; then
|
||||||
exit
|
exit
|
||||||
fi
|
fi
|
||||||
uname -r | grep 5.17.3
|
uname -r | grep 5.17.3
|
||||||
if [[ -f /usr/bin/uengine-loading-binder ]] && [[ $? != 0 ]]; then
|
if [[ ! -f /usr/bin/uengine-loading-binder ]]; then
|
||||||
echo 加载 binder
|
if [[ $? != 0 ]]; then
|
||||||
pkexec /usr/bin/uengine-loading-binder
|
echo 加载 binder
|
||||||
|
pkexec /usr/bin/uengine-loading-binder
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
notify-send -i /opt/apps/com.gitee.uengine.runner.spark/files/icon.png "UEngine 服务启动完成" -a uengine-runner
|
notify-send -i /opt/apps/com.gitee.uengine.runner.spark/files/icon.png "UEngine 服务启动完成" -a uengine-runner
|
||||||
bad=0
|
bad=0
|
||||||
|
|
|
@ -135,7 +135,7 @@ if [[ $? != 0 ]]; then
|
||||||
fi
|
fi
|
||||||
# 拷贝 binder loader
|
# 拷贝 binder loader
|
||||||
sudo cp "${programPath}/LoadingBinder/load.sh" /usr/bin/uengine-loading-binder -v
|
sudo cp "${programPath}/LoadingBinder/load.sh" /usr/bin/uengine-loading-binder -v
|
||||||
sudo chmod +r /usr/bin/uengine-loading-binder
|
sudo chmod 777 -Rv /usr/bin/uengine-loading-binder
|
||||||
sudo cp "${programPath}/pkexec/com.deepin.pkexec.binder.loader.policy" /usr/share/polkit-1/actions/ -v
|
sudo cp "${programPath}/pkexec/com.deepin.pkexec.binder.loader.policy" /usr/share/polkit-1/actions/ -v
|
||||||
# echo "重启后在$HOME/uengine-launch执行launch_uengine.sh即可打开uengine守护进程。随后即可安装和使用安卓应用"
|
# echo "重启后在$HOME/uengine-launch执行launch_uengine.sh即可打开uengine守护进程。随后即可安装和使用安卓应用"
|
||||||
# 这里直接运行 run_daemon.sh,运行 launch_uengine.sh 好像不行
|
# 这里直接运行 run_daemon.sh,运行 launch_uengine.sh 好像不行
|
||||||
|
|
Loading…
Reference in New Issue