From 5b05e940e9ab71b02ef27da991be6e9bfd4bd383 Mon Sep 17 00:00:00 2001 From: qiaofeng1227 <76487013@qq.com> Date: Fri, 11 Aug 2023 12:03:19 +0800 Subject: [PATCH] install and update support dev --- install/install.sh | 4 ++++ install/update.sh | 4 ++++ 2 files changed, 8 insertions(+) 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 -----------------"