hykilpikonna / hyfetch

🏳️‍🌈 🏳️‍⚧️ Neofetch with LGBTQ+ pride flags!
MIT License
1.34k stars 114 forks source link

Unable to run Neowofetch outside of MINGw64 on Windows 10 #17

Closed comradef191 closed 1 year ago

comradef191 commented 2 years ago

Description

Installed version of Python: 3.10.4 Hyfetch installed from pip, Version 1.4.0

The Neowofetch command currently only runs in MINGw64 on Windows 10

Attempting to use Neowofetch in Powershell will open a "How do you want to open this file?" prompt Attempting to use Neowofetch in Command Prompt will generate the error: "'neowofetch' is not recognized as an internal or external command, operable program or batch file."

I've found, through tinkering with the version of neofetch I installed using scoop, that it /is/ possible to run Neowofetch outside of bash:

  1. Navigate to existing Neofetch installation (With scoop this is \user\scoop\apps\neofetch\current)
  2. Copy over the Neowofetch file
  3. Delete/Rename the original Neofetch file
  4. Rename Neowofetch to Neofetch
hykilpikonna commented 2 years ago

The neofetch package on scoop can run on Windows because it actually uses Git Bash internally to launch the neofetch script. (Since neofetch is programmed in bash, it can't natively run on cmd nor Powershell)

Maybe I can publish a windows version of neowofetch on scoop with the same Git Bash packaging

hykilpikonna commented 1 year ago

I've just submitted an issue and pull request to the scoop package Extras repository:

https://github.com/ScoopInstaller/Extras/issues/11194 https://github.com/ScoopInstaller/Extras/pull/11195

Hopefully it will be added soon!