add Menu update before launcher

This commit is contained in:
cpi 2019-08-16 14:59:27 +08:00
parent 2dc6087950
commit 7917aaaddc
2 changed files with 11 additions and 1 deletions

View File

@ -4,6 +4,15 @@ BASENAME=`dirname "$0"`
cd $BASENAME/sys.py cd $BASENAME/sys.py
if [ ! -f ~/.apps_menu_updated ]
then
cd ~/apps/Menu && git pull origin gcores
if [ $? -eq 0 ]; then
touch ~/.apps_menu_updated
fi
cd -
fi
python run.py python run.py

View File

@ -6,7 +6,8 @@ git pull
git reset --hard $1 git reset --hard $1
git submodule init git submodule init
git submodule update git submodule update
cd ~/apps/Menu && git pull origin gcores && cd - #cd ~/apps/Menu && git pull origin gcores && cd -
rm ~/.apps_menu_updated
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 ./load.sh