add sudo command
This commit is contained in:
parent
9608ce6bfc
commit
0b2a8e7821
|
@ -134,8 +134,8 @@ if [[ $? != 0 ]]; then
|
||||||
exit
|
exit
|
||||||
fi
|
fi
|
||||||
# 拷贝 binder loader
|
# 拷贝 binder loader
|
||||||
cp "${programPath}/LoadingBinder/load.sh" /usr/bin/uengine-loading-binder -v
|
sudo 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}/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 好像不行
|
||||||
echo "重启后在$HOME/uengine-launch执行run_daemon.sh或在启动器手动运行或执行命令uengine-loading-ubuntu即可打开uengine守护进程。随后即可安装和使用安卓应用"
|
echo "重启后在$HOME/uengine-launch执行run_daemon.sh或在启动器手动运行或执行命令uengine-loading-ubuntu即可打开uengine守护进程。随后即可安装和使用安卓应用"
|
||||||
|
|
Loading…
Reference in New Issue