From 6f0f7f29792c09412d116cf7255c305f30e6bba9 Mon Sep 17 00:00:00 2001 From: Hugo ALLIAUME Date: Wed, 2 Jul 2025 14:51:44 +0200 Subject: [PATCH] [Windows] Add support for php.new (herd-lite) --- discovery_windows.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/discovery_windows.go b/discovery_windows.go index f1cbe10..520882f 100644 --- a/discovery_windows.go +++ b/discovery_windows.go @@ -51,6 +51,11 @@ func (s *PHPStore) doDiscover() { if userHomeDir != "" { s.discoverFromDir(filepath.Join(userHomeDir, ".config", "herd", "bin"), nil, regexp.MustCompile("^php\\d{2}$"), "Herd") } + + // Herd-lite + if userHomeDir != "" { + s.addFromDir(filepath.Join(userHomeDir, ".config", "herd-lite", "bin"), nil, "Herd-lite") + } } func systemDir() string {