From: Niki Roo Date: Thu, 27 Mar 2025 21:04:37 +0000 (+0100) Subject: game: fix icon paths X-Git-Url: http://git.nikiroo.be/?a=commitdiff_plain;h=27d849fd4a1a17683dbb3002e60a9155f2df9f84;p=gamiki.git game: fix icon paths --- diff --git a/gamiki/game.py b/gamiki/game.py index 2aa49eb..26132ef 100644 --- a/gamiki/game.py +++ b/gamiki/game.py @@ -72,8 +72,8 @@ class Game(dict): for dir in [ self.dir, - PurePath("$HOME/.pixmaps"), - PurePath("$HOME/.pixmaps/games") + PurePath(Path.home(), ".pixmaps"), + PurePath(Path.home(), ".pixmaps/games") ]: if (suffix == "-icon"): maybe = Path(dir, self.get("Icon", self.dir.name) + ".ico")