Compare commits

...

1 Commits

Author SHA1 Message Date
ycc
dae111bd79 oc- exe path fix 2024-10-16 08:24:32 +02:00

View File

@@ -32,7 +32,7 @@ func walkFolder(folderPath string, ctx context.Context, wg *sync.WaitGroup) {
if strings.HasPrefix(file.Name(), "oc-") && (!strings.Contains(file.Name(), ".") || strings.Contains(file.Name(), ".exe")) {
// Prepare the command to start the process
wg.Add(1)
go startProcess(ctx, file.Name(), wg)
go startProcess(ctx, "./"+file.Name(), wg)
}
// find
if strings.HasPrefix(strings.ToLower(file.Name()), "caddy") && strings.ToLower(file.Name()) != "caddyfile" {