diff --git a/install/install.sh b/install/install.sh index fa5bb350..a1afeb28 100644 --- a/install/install.sh +++ b/install/install.sh @@ -9,6 +9,10 @@ function error_exit { trap 'error_exit "Please push issue to: https://github.com/Websoft9/stackhub/issues"' ERR urls="https://w9artifact.blob.core.windows.net/release/websoft9" +if [[ "$1" == "dev" ]]; then + echo "update by dev artifacts" + urls="https://w9artifact.blob.core.windows.net/dev/websoft9" +fi function get_os_type() { if [ -f /etc/os-release ]; then diff --git a/install/update.sh b/install/update.sh index 64bea734..695684c5 100644 --- a/install/update.sh +++ b/install/update.sh @@ -9,6 +9,10 @@ function error_exit { trap 'error_exit "Please push issue to: https://github.com/Websoft9/websoft9/issues"' ERR urls="https://w9artifact.blob.core.windows.net/release/websoft9" +if [[ "$1" == "dev" ]]; then + echo "update by dev artifacts" + urls="https://w9artifact.blob.core.windows.net/dev/websoft9" +fi CheckEnv(){ echo "------------------ Welcome to update websoft9's appstore, it will take 1-3 minutes -----------------"