From 80807ed1d2324f4d1098212f9c5ac1014598fb87 Mon Sep 17 00:00:00 2001 From: shy Date: Tue, 1 Oct 2024 00:12:59 +0800 Subject: [PATCH] add some --- base/web/dream.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/base/web/dream.go b/base/web/dream.go index c59fa578..620739ef 100644 --- a/base/web/dream.go +++ b/base/web/dream.go @@ -140,7 +140,7 @@ func _dream_start(m *ice.Message, name string) { kit.If(m.Option(nfs.BINARY), func(p string) { _dream_binary(m, p) }) kit.If(m.Option(nfs.TEMPLATE), func(p string) { _dream_template(m, p) }) bin := kit.Select(kit.Path(os.Args[0]), cli.SystemFind(m, ice.ICE_BIN, nfs.PWD+path.Join(p, ice.BIN), nfs.PWD+ice.BIN)) - if cli.IsSuccess(m.Cmd(cli.DAEMON, bin, SPACE, tcp.DIAL, ice.DEV, ice.OPS, mdb.TYPE, WORKER, m.OptionSimple(mdb.NAME), cli.DAEMON, ice.OPS)) { + if cli.IsSuccess(m.Cmd(cli.DAEMON, bin, SPACE, tcp.DIAL, ice.DEV, ice.OPS, cli.DAEMON, ice.OPS)) { gdb.WaitEvent(m, DREAM_OPEN, func(m *ice.Message, arg ...string) bool { return m.Option(mdb.NAME) == name }) m.Sleep300ms() }