mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-08-30 17:27:57 +00:00
find_file to find files in HYPERPATH
This commit is contained in:
@@ -207,7 +207,7 @@ EX bool loadMusicInfo() {
|
||||
#endif
|
||||
#ifdef FHS
|
||||
|| loadMusicInfo("/usr/share/hyperrogue/hyperrogue-music.txt")
|
||||
|| loadMusicInfo(s0 + getenv("HOME") + "/.hyperrogue-music.txt")
|
||||
|| (getenv("HOME") && loadMusicInfo(s0 + getenv("HOME") + "/.hyperrogue-music.txt"))
|
||||
#endif
|
||||
;
|
||||
}
|
||||
|
Reference in New Issue
Block a user