lptstr / winfetch

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

Optimize ps_pkgs #163

Closed Carterpersall closed 1 year ago

Carterpersall commented 1 year ago

Speed (Will populate later):

Bottlenecked Speed:

rashil2000 commented 1 year ago

On my system, on both PS 5.1 and 7.3.1, this returns the count of both modules and scripts as 0 😕

Also, can you please make the formatting changes in a separate PR?

Carterpersall commented 1 year ago

On my system, on both PS 5.1 and 7.3.1, this returns the count of both modules and scripts as 0 😕

For some reason, I used -contains instead on -like, which meant that my wildcards weren't working. Should be fixed now

Also, can you please make the formatting changes in a separate PR?

Yeah, I can. When I committed that, I couldn't figure out where the setting was that was making VSCode was automatically trim whitespace. For now, I've reverted the change.