diff --git a/base/web/spide.go b/base/web/spide.go index 26a3f6a8..10b6ef56 100644 --- a/base/web/spide.go +++ b/base/web/spide.go @@ -38,6 +38,13 @@ func _spide_create(m *ice.Message, name, address string) { } func _spide_list(m *ice.Message, arg ...string) { msg := mdb.HashSelects(m.Spawn(), arg[0]) + m.Debug("what %v", msg.FormatMeta()) + m.Debug("what %v", msg.Append(arg[1])) + if len(arg) == 2 && msg.Append(arg[1]) != "" { + m.Echo(msg.Append(arg[1])) + return + } + cache, save := "", "" switch arg[1] { // 缓存方法 case SPIDE_RAW: diff --git a/core/code/publish.go b/core/code/publish.go index 5e6f4e01..5f9e45c0 100644 --- a/core/code/publish.go +++ b/core/code/publish.go @@ -166,7 +166,7 @@ export ctx_dev={{.Option "httphost"}} ctx_pod={{.Option "user.pod"}}; ctx_temp=$ git clone {{.Option "remote"}}; cd {{.Option "pathname"}} && source etc/miss.sh port 9020 `, ice.BASE, `# 下载工具 -ctx_temp=$(mktemp); curl -o $ctx_temp -fsSL {{.Cmdx "spide" "shy" "url"}}; source $ctx_temp binary -ctx_temp=$(mktemp); wget -O $ctx_temp -q {{.Cmdx "spide" "shy" "url"}}; source $ctx_temp binary +ctx_temp=$(mktemp); curl -o $ctx_temp -fsSL {{.Cmdx "spide" "shy" "client.url"}}; source $ctx_temp binary +ctx_temp=$(mktemp); wget -O $ctx_temp -q {{.Cmdx "spide" "shy" "client.url"}}; source $ctx_temp binary `, )