launcher/update.sh
2019-12-28 11:55:06 -05:00

14 lines
318 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
cd ~/apps/Menu && git pull && cd - || exit
feh --bg-center /home/cpi/launcher/sys.py/gameshell/wallpaper/loading.png
./load.sh