rm -rf ~/unitree/dist
rm -rf ~/.config/autostart/chaoquan.desktop
rm -rf ~/.local/share/applications/chaoquan.desktop
mkdir ~/.config/autostart
curl -o ~/unitree/unitree-v3-250420.zip https://consul.itzgyw.com/unitree-v3-250420.zip
unzip ~/unitree/unitree-v3-250420.zip -d ~/unitree
chmod +x ~/unitree/dist/desktop
echo 1.0.3 > ~/unitree/dist/version.txt
rm -rf ~/unitree/unitree-v3-250420.zip
echo [Desktop Entry] >> ~/.local/share/applications/chaoquan.desktop
echo Type=Application >> ~/.local/share/applications/chaoquan.desktop
echo Exec=$HOME/unitree/dist/desktop >> ~/.local/share/applications/chaoquan.desktop
echo Name=犬类终结者 >> ~/.local/share/applications/chaoquan.desktop
echo Comment=Pyqt5 >> ~/.local/share/applications/chaoquan.desktop
echo Terminal=false >> ~/.local/share/applications/chaoquan.desktop
echo Categories=Utility >> ~/.local/share/applications/chaoquan.desktop
chmod +x ~/.local/share/applications/chaoquan.desktop
cp ~/.local/share/applications/chaoquan.desktop ~/.config/autostart/chaoquan.desktop

cd ~/unitree/dist/go2_webrtc_connect && pip install -e .  -i https://mirrors.aliyun.com/pypi/simple/

python3 ~/unitree/dist/get_sys_path.py
rm -rf ~/unitree/dist/get_sys_path.py


