-
Notifications
You must be signed in to change notification settings - Fork 505
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Nothing of cheats available on Windows #576
Comments
Thanks for opening your first issue here! In case you're facing a bug, please update navi to the latest version first. Maybe the bug is already solved! :) |
Thanks for troubleshooting, but I'm afraid I didn't get it. Do you mean that |
I believe this is a bug in https://docs.rs/directories-next/2.0.0/directories_next/struct.ProjectDirs.html#method.config_dir I'll need to investigate this upstream |
@scillidan I think you need to set cmd.exe as the shell in navi config. ref: #40 (comment) |
related to denisidoro#576 For the following config cheats: paths: - C:\\Users\\Administrator\\AppData\\Roaming\\navi\\cheat - C:\\Users\\Administrator\\AppData\\Roaming\\navi\\cheat navi now gets incorrect paths on Windows, since the seperator `:` for path join is a valid component. [2023-05-12T08:58:26Z DEBUG navi::commands::core] Filesystem( Some( "C:\\\\Users\\\\Administrator\\\\AppData\\\\Roaming\\\\navi\\\\cheat:C:\\\\Users\\\\Administrator\\\\AppData\\\\Roaming\\\\navi\\\\cheat", ), ) [2023-05-12T08:58:28Z DEBUG navi::filesystem] filesystem::Fetcher = Fetcher { path: Some( "C:\\\\Users\\\\Administrator\\\\AppData\\\\Roaming\\\\navi\\\\cheat:C:\\\\Users\\\\Administrator\\\\AppData\\\\Roaming\\\\navi\\\\cheat", ), files: RefCell { value: [], }, }
This is caused by using Line 72 in 6f316ec
Line 155 in 6f316ec
Lines 25 to 27 in 6f316ec
It's incorrect since Plus, I think we should introduce logging, otherwise it's hard to know where goes wrong. I made a small commit here zjp-CN@d1699df |
I started it from |
Another workaround is to make the separator platform-specific. The PR is here. |
@zjp-CN Thanks! I will try it later. |
related to #576 For the following config cheats: paths: - C:\\Users\\Administrator\\AppData\\Roaming\\navi\\cheat - C:\\Users\\Administrator\\AppData\\Roaming\\navi\\cheat navi now gets incorrect paths on Windows, since the seperator `:` for path join is a valid component. [2023-05-12T08:58:26Z DEBUG navi::commands::core] Filesystem( Some( "C:\\\\Users\\\\Administrator\\\\AppData\\\\Roaming\\\\navi\\\\cheat:C:\\\\Users\\\\Administrator\\\\AppData\\\\Roaming\\\\navi\\\\cheat", ), ) [2023-05-12T08:58:28Z DEBUG navi::filesystem] filesystem::Fetcher = Fetcher { path: Some( "C:\\\\Users\\\\Administrator\\\\AppData\\\\Roaming\\\\navi\\\\cheat:C:\\\\Users\\\\Administrator\\\\AppData\\\\Roaming\\\\navi\\\\cheat", ), files: RefCell { value: [], }, }
Describe the bug
navi doesn't not recognize any cheat sheets.
To Reproduce
run navi, if current working directory is not at
C:/
driver,Expected behavior
It should NOT REWRITE disk driver character when query profile data
Screenshots
Versions:
Additional context
sceenshot from
procmon
capture.The text was updated successfully, but these errors were encountered: