Skip to content

Commit 6f0f7f2

Browse files
committed
[Windows] Add support for php.new (herd-lite)
1 parent cf62cbd commit 6f0f7f2

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

discovery_windows.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,11 @@ func (s *PHPStore) doDiscover() {
5151
if userHomeDir != "" {
5252
s.discoverFromDir(filepath.Join(userHomeDir, ".config", "herd", "bin"), nil, regexp.MustCompile("^php\\d{2}$"), "Herd")
5353
}
54+
55+
// Herd-lite
56+
if userHomeDir != "" {
57+
s.addFromDir(filepath.Join(userHomeDir, ".config", "herd-lite", "bin"), nil, "Herd-lite")
58+
}
5459
}
5560

5661
func systemDir() string {

0 commit comments

Comments
 (0)