update.sh 340 B

1234567891011121314
  1. #!/bin/bash
  2. cd /home/cpi/launcher || exit
  3. feh --bg-center /home/cpi/launcher/sys.py/gameshell/wallpaper/updating.png
  4. git pull
  5. git reset --hard "$1"
  6. git submodule init
  7. git submodule update
  8. #disable update Menu
  9. #cd ~/apps/Menu && git pull && cd - || exit
  10. feh --bg-center /home/cpi/launcher/sys.py/gameshell/wallpaper/loading.png
  11. ./load.sh