新增加载binder免密

This commit is contained in:
2023-05-02 13:38:06 +08:00
parent 27817c824e
commit 6bdfd5a9ef
4 changed files with 27 additions and 1 deletions

View File

@@ -126,6 +126,9 @@ if [[ $? != 0 ]]; then
zenity --error --no-wrap '--text=抱歉UEngine 安装失败,已移除安装时进行的修改'
exit
fi
# 拷贝 binder loader
cp "${programPath}/Help/shell/run_daemon.sh" /usr/bin/uengine-loading-binder -v
cp "${programPath}/pkexec/com.deepin.pkexec.binder.loader.policy" /usr/share/polkit-1/actions/ -v
# echo "重启后在$HOME/uengine-launch执行launch_uengine.sh即可打开uengine守护进程。随后即可安装和使用安卓应用"
# 这里直接运行 run_daemon.sh运行 launch_uengine.sh 好像不行
echo "重启后在$HOME/uengine-launch执行run_daemon.sh或在启动器手动运行或执行命令uengine-loading-ubuntu即可打开uengine守护进程。随后即可安装和使用安卓应用"