Commit 43ccb7f
authored
Add Chocolatey v2.0 compatibility (#191)
* removed "-l" switch from "choco list" command for Chocolatey 2.0 compatibility
Running `choco list -l` on Chocolatey 2.0.0 produces the following error:
```Invalid argument -l. This argument has been removed from the list command and cannot be used.```
Removing the `-l` switch resolves the error and winfetch works properly again.
* handle "choco list" syntax for chocolatey 1.x and 2.x1 parent 9cc0ebe commit 43ccb7f
1 file changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
872 | 872 | | |
873 | 873 | | |
874 | 874 | | |
875 | | - | |
| 875 | + | |
| 876 | + | |
| 877 | + | |
876 | 878 | | |
877 | 879 | | |
878 | 880 | | |
| |||
0 commit comments