summaryrefslogtreecommitdiffstats
path: root/pygame
diff options
context:
space:
mode:
Diffstat (limited to 'pygame')
-rw-r--r--pygame/Makefile4
-rwxr-xr-xpygame/__init__.py2
2 files changed, 4 insertions, 2 deletions
diff --git a/pygame/Makefile b/pygame/Makefile
index 492a0ce..8a2e506 100644
--- a/pygame/Makefile
+++ b/pygame/Makefile
@@ -16,7 +16,7 @@ all: deploy
deploy:
#rm -rf ~/games/.saves/tools/bin/libs/gamechestgui
mkdir -p ~/games/.saves/tools/bin/libs/gamechestgui
- pip3 install -U --target ~/games/.saves/tools/bin/libs/gamechestgui -r ../gamechestcli/requirements.txt
- pip3 install -U --target ~/games/.saves/tools/bin/libs/gamechestgui -r requirements.txt
+ #pip3 install -U --target ~/games/.saves/tools/bin/libs/gamechestgui -r ../gamechestcli/requirements.txt
+ #pip3 install -U --target ~/games/.saves/tools/bin/libs/gamechestgui -r requirements.txt
rsync -Pa ../gamechestcli/gamechest ~/games/.saves/tools/bin/libs/gamechestgui/.
rsync -Pa __init__.py profiledb.py ~/games/.saves/tools/bin/libs/gamechestgui/.
diff --git a/pygame/__init__.py b/pygame/__init__.py
index 8dae792..c516008 100755
--- a/pygame/__init__.py
+++ b/pygame/__init__.py
@@ -290,6 +290,8 @@ class GameData(ObservedSubject):
'icon', None)
if current_icon is not None:
current_icon = config.get_data_d() / current_icon
+ else:
+ current_icon = config.get_data_d() / 'asset/default_icon.jpeg'
yield selected, item[0], item[1], current_icon, game_info
def get_current_gameinfo(self):