summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorvg <vgm+dev@devys.org>2023-01-02 20:49:30 +0100
committervg <vgm+dev@devys.org>2023-01-02 20:49:30 +0100
commit1c21b13b822de17533476bd12f6bee4d3ca24957 (patch)
tree2c464ad12d2738848b816379115805a2d9eca098
parent5b1714e7b9f480d5b951d93cd4c949e4d9d30d08 (diff)
downloadgamechest-1c21b13b822de17533476bd12f6bee4d3ca24957.tar.gz
gamechest-1c21b13b822de17533476bd12f6bee4d3ca24957.tar.bz2
gamechest-1c21b13b822de17533476bd12f6bee4d3ca24957.zip
git-sync on dita
-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):