git://git.nikiroo.be
/
gamiki.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0dc4b73
)
game: fix icon paths
author
Niki Roo
<niki@nikiroo.be>
Thu, 27 Mar 2025 21:04:37 +0000
(22:04 +0100)
committer
Niki Roo
<niki@nikiroo.be>
Thu, 27 Mar 2025 21:04:37 +0000
(22:04 +0100)
gamiki/game.py
patch
|
blob
|
blame
|
history
diff --git
a/gamiki/game.py
b/gamiki/game.py
index 2aa49eb6e79735e6598027d39759e7029250dde1..26132ef979cd743d162eafa9c2b7a30a869fb55e 100644
(file)
--- 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")