From 1c21b13b822de17533476bd12f6bee4d3ca24957 Mon Sep 17 00:00:00 2001 From: vg Date: Mon, 2 Jan 2023 20:49:30 +0100 Subject: git-sync on dita --- pygame/Makefile | 4 ++-- pygame/__init__.py | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'pygame') 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): -- cgit v1.2.3