Update update.sh (Sync Ver.200626)

This commit is contained in:
hi80482 2020-07-03 14:34:27 +08:00 committed by GitHub
parent c6e84cee26
commit ee60483608
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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