add sudo command

This commit is contained in:
rain-gfd 2023-05-02 17:13:26 +08:00
parent 9608ce6bfc
commit 0b2a8e7821
1 changed files with 2 additions and 2 deletions

View File

@ -134,8 +134,8 @@ if [[ $? != 0 ]]; then
exit
fi
# 拷贝 binder loader
cp "${programPath}/LoadingBinder/load.sh" /usr/bin/uengine-loading-binder -v
cp "${programPath}/pkexec/com.deepin.pkexec.binder.loader.policy" /usr/share/polkit-1/actions/ -v
sudo cp "${programPath}/LoadingBinder/load.sh" /usr/bin/uengine-loading-binder -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守护进程。随后即可安装和使用安卓应用"
# 这里直接运行 run_daemon.sh运行 launch_uengine.sh 好像不行
echo "重启后在$HOME/uengine-launch执行run_daemon.sh或在启动器手动运行或执行命令uengine-loading-ubuntu即可打开uengine守护进程。随后即可安装和使用安卓应用"