#!/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
