Commit d16d3bf
committed
feat: add new
Added:
- Added `Diagnose` commands to get the version output of `gsudo`, `ansicon`, and `acrylic`.
Gsudo and ansicon use the `packageExe` method of their respective package class.
Acrylic doesn't have a cli command to get the version, so we have to get the contents of it's Readme.txt, and find the version later on.
- Added a conditional to the `editOutput` to edit the output of Acrylic's Readme.txt. We use regex to find the version number within the file contents, and only output that instead of the whole file.
- Added gsudo, ansicon, and acrylic to the `combineWithHeadings` method.
Changed:
- Changed the command that gets the contents of valet's `config.json` to use the `Configuration::path` method instead of repeating it's path.Diagnose commands to output the version number of gsudo, ansicon, and acrylic.1 parent da7263f commit d16d3bf
1 file changed
+14
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
| 35 | + | |
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
42 | 45 | | |
43 | 46 | | |
44 | 47 | | |
| |||
224 | 227 | | |
225 | 228 | | |
226 | 229 | | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
227 | 236 | | |
228 | 237 | | |
229 | 238 | | |
| |||
408 | 417 | | |
409 | 418 | | |
410 | 419 | | |
| 420 | + | |
| 421 | + | |
| 422 | + | |
411 | 423 | | |
412 | 424 | | |
413 | 425 | | |
| |||
419 | 431 | | |
420 | 432 | | |
421 | 433 | | |
422 | | - | |
| 434 | + | |
0 commit comments