launcher/update.sh
2019-08-16 14:59:27 +08:00

15 lines
341 B
Bash
Executable File

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