Skip to content

Commit 8693aad

Browse files
committed
feat: oadin-app启动oadin(灵觅)
1 parent 0fe8b6f commit 8693aad

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

internal/utils/server/server.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,9 @@ func StartOadinServer(logPath string, pidFilePath string) error {
4545
return fmt.Errorf("failed to find oadin executable: %v", err)
4646
}
4747
}
48+
if runtime.GOOS == "windows" {
49+
execCmd = constants.WindowsOadinExecPath + "\\" + "oadin.exe"
50+
}
4851
cmd := exec.Command(execCmd, "server", "start")
4952
cmd.Stdout = logFile
5053
cmd.Stderr = logFile

0 commit comments

Comments
 (0)