Open tapyu opened 11 months ago
It also happens if you set .cheat
file paths in the navi
config file instead of using $NAVI_PATH
. navi info cheats-path
also print the wrong paths in this situation.
It also happens for navi info config-path
when you set $NAVI_CONFIG
, that is, navi info config-path
ignores $NAVI_CONFIG
and prints the wrong config file path.
Describe the bug
navi info cheats-path
wrongly outputs~/.local/share/navi/cheats
when$NAVI_PATH
is set to another value.To Reproduce Steps to reproduce the behavior:
mv ~/.local/share/navi/cheats ~/cheat_test
(change~/.local/share/navi/cheats
if you place your.cheat
files elsewhere).rm -rf ~/.local/share/navi
export NAVI_PATH="/home/$USER/cheat_test"
navi
navi
is correctly using/home/$USER/cheat_test
, which is defined by$NAVI_PATH
navi info cheats-path
and note that it wrongly says that cheat path is~/.local/share/navi/cheats
.Expected behavior
navi info cheats-path
should print/home/$USER/cheat_test
.Screenshots
Versions: