1
0
forked from x/icebergs
This commit is contained in:
IT 老营长 @云轩领航-创始人 2023-07-08 16:04:18 +08:00
parent e73f29d130
commit 44a6325559

View File

@ -84,7 +84,7 @@ func Run(arg ...string) string {
} else {
arg = append(arg, FOREVER, START)
}
} else if arg[0] == FOREVER && !kit.IsIn(arg[1], "restart", "stop") && runtime.GOOS == "windows" {
} else if arg[0] == FOREVER && arg[1] == START && runtime.GOOS == "windows" {
arg[0] = SERVE
}
Pulse.meta[MSG_DETAIL] = arg