uengine-runner/LoadingBinder/uengine-wayland-uninstall.sh

15 lines
425 B
Bash
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#!/bin/bash
programPath=$(cd $(dirname $0); pwd)
if [[ ! -f /usr/bin/uengine ]]; then
echo 未安装uengine请先安装
exit 1
fi
if [[ ! -f /usr/bin/uengine-session ]] ;then
echo 未安装补丁,无需卸载!
exit 1
fi
rm -fv /usb/bin/uengine
sudo mv /usr/bin/uengine-session /usr/bin/uengine
sudo chmod +x /usr/bin/uengine
sudo systemctl restart uengine-session.service
echo 补丁卸载完成!