diff --git a/ubuntu22-build.sh b/ubuntu22-build.sh index 42ccdf3..d5dcf0e 100644 --- a/ubuntu22-build.sh +++ b/ubuntu22-build.sh @@ -1,8 +1,8 @@ #!/usr/bin/env bash set -e -REPO="http://121.37.111.42:3000/ThbTech/eletron-test.git" -if [ -n "$GIT_USER" ] && [ -n "$GIT_PASS" ]; then REPO="http://$GIT_USER:$GIT_PASS@121.37.111.42:3000/ThbTech/eletron-test.git"; fi -TARGET_DIR="${TARGET_DIR:-$HOME/eletron-test}" +REPO="http://121.37.111.42:3000/ThbTech/electron-test.git" +if [ -n "$GIT_USER" ] && [ -n "$GIT_PASS" ]; then REPO="http://$GIT_USER:$GIT_PASS@121.37.111.42:3000/ThbTech/electron-test.git"; fi +TARGET_DIR="${TARGET_DIR:-$HOME/electron-test}" BRANCH="${BRANCH:-main}" export ELECTRON_MIRROR="${ELECTRON_MIRROR:-https://npmmirror.com/mirrors/electron/}" sudo apt update