diff --git a/core/test.go b/core/test.go index 78c1260..6ab1aae 100644 --- a/core/test.go +++ b/core/test.go @@ -307,6 +307,9 @@ Alias=sillyGirl.service` ss := strings.Split(data, "\n") return ss[len(ss)-1] } + if strings.Contains(data, "你赢了") { + stop = true + } return data }, `[\s\S]*`, time.Duration(time.Second*300)) if stop == true {