lptstr / winfetch

🛠 A command-line system information utility written in PowerShell. Like Neofetch, but for Windows.
MIT License
1.35k stars 76 forks source link

Issue with clist command, line 875 #192

Closed cmdshft closed 11 months ago

cmdshft commented 1 year ago

image

majvax commented 1 year ago

there is an easy workaround, firstly gen a new config (winfetch -genconf) and edit your config with any text editor. At the bottom, comment "pkgs" and save the file. winfetch can be run again without any error

SeryiBaran commented 1 year ago

Me helps change line 875 to $chocopkg = [convert]::ToInt32((& choco list)[-1].Split(' ')[0], 10) - 1

SeryiBaran commented 1 year ago

Oh, I could look into #191

Keshav13142 commented 11 months ago

Turns out clist was deprecated by chocolatey. So I just created an alias in my powershell profile.

function clist { choco list }
SeryiBaran commented 11 months ago

Turns out clist was deprecated by chocolatey. So I just created an alias in my powershell profile.

function clist { choco list }

omg, you genius! thanks (but i'm disable package showing)!

Keshav13142 commented 11 months ago

omg, you genius! thanks (but i'm disable package showing)!

Yes, I also did the same, both chocolatey and winget take a good 2 seconds to list packages on my laptop.

rashil2000 commented 11 months ago

Duplicate of #189

ariyako commented 8 months ago

can confirm this still not solve on Windows 10 and

Turns out clist was deprecated by chocolatey. So I just created an alias in my powershell profile.

function clist { choco list }

thanks this solve my problem