launcher_deot/update.sh
2020-07-03 23:35:14 +08:00

15 lines
341 B
Bash
Executable File

#!/bin/bash
cd /home/cpi/launcher || exit
feh --bg-center /home/cpi/launcher/sys.py/gameshell/wallpaper/updating.png
git pull
git reset --hard "$1"
git submodule init
git submodule update
#disable update Menu
#cd ~/apps/Menu && git pull && cd - || exit
feh --bg-center /home/cpi/launcher/sys.py/gameshell/wallpaper/loading.png
./load.sh