yorukot / superfile

Pretty fancy and modern terminal file manager
https://superfile.netlify.app
MIT License
7.52k stars 166 forks source link

[Windows] SPF command not working #391

Open KathaiArt opened 2 months ago

KathaiArt commented 2 months ago

When trying to run the command "spf" on "Windows Terminal" the command isn't recognized, even tho it's installed sucessfully.

Reproduce

  1. Open Windows Terminal

  2. Run the command: powershell -ExecutionPolicy Bypass -Command "Invoke-Expression ((New-Object System.Net.WebClient).DownloadString('https://superfile.netlify.app/install.ps1'))"

  3. The installation is concluded

  4. Close and re-open "Windows Terminal"

  5. Run the command: spf

  6. The command isn't recognized

Expected behavior After running "spf" the program should open.


Screenshots Layer 207

Translation:

spf : The term 'spf' ins't recognized as cmdlet name, funcion, script file or executable program. Vertify the name graph or, if a path may have included, see the path it's correct and try again. Line:1 character:1 +spf +~~~


System information:

brunoCCOS commented 1 week ago

Probably lacking in the PATH, i suspect that depending on your PS configs the installation does not modify the PATH. You can easily fix by searching "Edit Enviroment variables" in your windows choosing the user variable PATH and adding a line C:\Users\Username\AppData\Local\Programs\superfile\