更新 one-touch.sh
parent
fc9fffbba3
commit
6d6eb0d4ca
|
@ -12,7 +12,7 @@ apt-get install -y curl unzip
|
|||
arch=$(uname -m)
|
||||
# 设置 ARCHITECTURE 变量
|
||||
if [[ $arch == "aarch64" ]]; then
|
||||
ARCHITECTURE="arm64"
|
||||
ARCHITECTURE="aarch64"
|
||||
elif [[ $arch == "x86_64" ]]; then
|
||||
ARCHITECTURE="x86_64"
|
||||
else
|
||||
|
@ -25,8 +25,8 @@ OS_ARCH=$ARCHITECTURE
|
|||
server_address=${1} # rust_serverstatus 服务端网址
|
||||
WORKDIR=${2} # 安装目录
|
||||
user_name=${3} # 本机运行这个 rust_serverstatus 的用户
|
||||
ssr_uid=${4} # rust_serverstatus 配置文件里用户名对应的密码
|
||||
ssr_passwd=${5} # rust_serverstatus 配置文件里的用户名
|
||||
ssr_uid=${4} # rust_serverstatus 配置文件里的用户名
|
||||
ssr_passwd=${5} # rust_serverstatus 配置文件里用户名对应的密码
|
||||
install_server_or_not=${6} # 空着就不安装服务端
|
||||
|
||||
mkdir -p ${WORKDIR}
|
||||
|
|
Loading…
Reference in New Issue