summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarianne Chevrot <blackmoor+git@devys.org>2023-03-26 22:26:51 +0200
committerMarianne Chevrot <blackmoor+git@devys.org>2023-03-26 22:26:51 +0200
commit9ac6414545ca390d39597af10df6c0f4a65589d2 (patch)
treef82f8c222fe2a867908f9072a3956642711151ca
parent56b6b7de37e416ad87a8b2766ed0df4f13a67778 (diff)
downloadgamechest-9ac6414545ca390d39597af10df6c0f4a65589d2.tar.gz
gamechest-9ac6414545ca390d39597af10df6c0f4a65589d2.tar.bz2
gamechest-9ac6414545ca390d39597af10df6c0f4a65589d2.zip
Change box asset and group runners
-rw-r--r--gamechestcli/gamechest/gamedb.py2
-rwxr-xr-xpygame/__init__.py4
2 files changed, 3 insertions, 3 deletions
diff --git a/gamechestcli/gamechest/gamedb.py b/gamechestcli/gamechest/gamedb.py
index 44e0470..bec90d3 100644
--- a/gamechestcli/gamechest/gamedb.py
+++ b/gamechestcli/gamechest/gamedb.py
@@ -41,7 +41,7 @@ class GameDB:
*[f'{tools_bin_path}/mod-{item}' for item in game_mods],
profile_dir,
game_dir,
- *[item if index > 0 else f'{tools_bin_path}/{item}'
+ *[item if index > 0 else f'{tools_bin_path}/runners/{item}'
for index, item in enumerate(game_info['command'])],
]
diff --git a/pygame/__init__.py b/pygame/__init__.py
index 4bbf096..ce603dc 100755
--- a/pygame/__init__.py
+++ b/pygame/__init__.py
@@ -221,7 +221,7 @@ class ProfileRenderer(ProfileDataObserver):
self.font_fg_color = (0, 200, 200)
self.avatar_surface = None
self.avatar_size = (100, 100)
- self.image_box = get_image_surface(config.get_data_d() / 'asset/box.png', resize=(170, 170), alpha=True)
+ self.image_box = get_image_surface(config.get_data_d() / 'asset/box_gamechest_no-title_259x308.png', resize=(170, 170), alpha=True)
self.load_avatar()
def load_avatar(self):
@@ -335,7 +335,7 @@ class GameRenderer(GameDataObserver):
self.image_right_arrow = get_image_surface(config.get_data_d() / 'asset/bulb.png',
resize=(16, 16),
alpha=True)
- self.image_box = get_image_surface(config.get_data_d() / 'asset/box.png', resize=(400, 400), alpha=True)
+ self.image_box = get_image_surface(config.get_data_d() / 'asset/box_gamechest_title-games_518x616.png', resize=(400, 400), alpha=True)
self.image_box.set_alpha(220)
def event_current_game_changed(self, new_game_info):