oc- exe path fix
This commit is contained in:
parent
756ba40fbb
commit
dae111bd79
@ -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")) {
|
if strings.HasPrefix(file.Name(), "oc-") && (!strings.Contains(file.Name(), ".") || strings.Contains(file.Name(), ".exe")) {
|
||||||
// Prepare the command to start the process
|
// Prepare the command to start the process
|
||||||
wg.Add(1)
|
wg.Add(1)
|
||||||
go startProcess(ctx, file.Name(), wg)
|
go startProcess(ctx, "./"+file.Name(), wg)
|
||||||
}
|
}
|
||||||
// find
|
// find
|
||||||
if strings.HasPrefix(strings.ToLower(file.Name()), "caddy") && strings.ToLower(file.Name()) != "caddyfile" {
|
if strings.HasPrefix(strings.ToLower(file.Name()), "caddy") && strings.ToLower(file.Name()) != "caddyfile" {
|
||||||
|
Loading…
Reference in New Issue
Block a user