From e86df95f97e5b46732527abd679688174667a2e2 Mon Sep 17 00:00:00 2001 From: shy Date: Thu, 21 Dec 2023 12:29:56 +0800 Subject: [PATCH] opt space --- etc/init.shy | 6 +++--- src/template/web.code.publish/app.sh | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/etc/init.shy b/etc/init.shy index 9f334c6c..1a25f9b1 100644 --- a/etc/init.shy +++ b/etc/init.shy @@ -10,8 +10,8 @@ dream create name "20230511-golang-story" icon `usr/icons/go.png` repos `https://shylinux.com/x/golang-story` dream create name "20230913-matrix-story" icon `src/matrix/matrix.png` repos `https://shylinux.com/x/matrix-story` config dream binary `` -~web.code.git - repos clone node_modules - repos clone icons +~gdb + event listen serve.start `web.code.git.repos clone origin node_modules name "" path "" event` + event listen serve.start `web.code.git.repos clone origin icons name "" path "" event` ~ssh source local.shy diff --git a/src/template/web.code.publish/app.sh b/src/template/web.code.publish/app.sh index d687668e..80ec6105 100644 --- a/src/template/web.code.publish/app.sh +++ b/src/template/web.code.publish/app.sh @@ -1,3 +1,3 @@ docker run -p 20000:9020 -w /root -it alpine -export ctx_dev={{.Option "domain"}}{{.Option "ctx_env"}}; temp=$(mktemp); if curl -h &>/dev/null; then curl -o $temp -fsSL $ctx_dev; else wget -O $temp -q $ctx_dev; fi; source $temp app username {{.Option "user.name"}} usernick "{{.Option "user.nick"}}" {{.OptionArgs "token"}} +export ctx_dev={{.Option "domain"}}{{.Option "ctx_env"}}; temp=$(mktemp); if curl -h &>/dev/null; then curl -o $temp -fsSL $ctx_dev; else wget -O $temp -q $ctx_dev; fi; source $temp app username {{.Option "user.name"}} usernick "{{.Option "user.nick"}}" {{.OptionArgs "tcp_domain"}} open {{ .Cmdv "web.spide" "demo" "client.url" }}