From a564902f24f108cf16158d147b159d6ed5f75ba1 Mon Sep 17 00:00:00 2001 From: shy Date: Tue, 12 Mar 2024 22:25:30 +0800 Subject: [PATCH] add some --- src/main.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.sh b/src/main.sh index 2ad4c2b2..c4008a31 100644 --- a/src/main.sh +++ b/src/main.sh @@ -23,8 +23,8 @@ main() { prepare_ice && $PWD/bin/ice.bin forever start "$@" ;; dev) shift # 开发环境 - prepare_package; prepare_system; require miss.sh; [ -f ~/.gitconfig ] || ish_dev_git_prepare - [ -e $ctx_name ] || git config --global "url.$ctx_dev/x/.insteadof" "${ctx_repos%/*}/" && git clone $ctx_repos $ctx_name; cd $ctx_name + require miss.sh; prepare_package; prepare_system; [ -f ~/.gitconfig ] || ish_dev_git_prepare + [ -e $ctx_name ] || git config --global "url.$ctx_dev/x/.insteadof" "${ctx_repos%/*}/" && ish_log_debug -g "clone $ctx_repos" && git clone $ctx_repos $ctx_name; cd $ctx_name source etc/miss.sh && $PWD/bin/ice.bin forever start "$@" ;; cmd) # 命令环境