neofetch
neofetch copied to clipboard
Windows 11 Install issues.
Issues with install. I'm using OneDrive and redirecting the 'Documents' folder... Perhaps that's causing issues? There is a local Documents folder still as well.
Path looks OK in cmd (scoop location in there). I also restarted the Terminal just in case the path wasn't updated.
Thanks!
I will also experience a similar problem after installation, I can not find the cause of the problem, I hope this will fix in the future since earlier this program worked fine
Same issue here, Win11 > The system cannot find the path specified
Think I found the mistake... in the neofetch.cmd located in the 'shims' folder, there's a path to 'bash' that doesn't exist on my scoop install:
Here's the line:
@"C:\Users\kboddy\scoop\bin\bash.exe" "C:\Users\kboddy\scoop\apps\neofetch\current\neofetch" %*
No bash.exe there... no bin folder either. There is this though from the git install:
C:\Users\kboddy\scoop\apps\git\current\bin\bash.exe
I updated the path and it works!!!
@kaboddy That fixed mine as well, good find! Thank you!
Yeah... Not sure where or why the windows installer would look for that path unless something changed with the git install.
I've got the install on another computer (Windows as well) and the files are totally different!
@kaboddy Your fix helped me but after it appeared another mistake, the program simply does not work
Not sure what to tell you. What's your neofetch.cmd looking like?
The problem in the cuurent version is that neofetch.ps1
contains this:
& $(join-path $Env:Programfiles 'Git\bin\bash.exe') $(join-path $psscriptroot 'neofetch') @args
which is just a rank assumption which results in C:\Program Files\Git\bin\bash.exe
. My git is not in C:\Program Files\
or Git
directories. These days many people don't want apps on their smaller SSD C: drives and, whatever the cirumstances, paths shouldn't be assumed. neofetch needs to ask or detect the correct path.
The workaround is to replace $Env:Programfiles
and Git\
in Git\bin\bash.exe
with the right locations or replace the entire $(join-path $Env:Programfiles 'Git\bin\bash.exe')
invocation with your path to bash. Something like & 'path/to/bash.exe' $(join-path $psscriptroot 'neofetch') @args
.