mirror of
https://github.com/xxoommd/magic.git
synced 2025-05-22 13:12:45 +00:00
update x to v0.4
This commit is contained in:
parent
8f4507b639
commit
9c140241da
@ -6,7 +6,7 @@
|
||||
|
||||
```shell
|
||||
export DOMAIN=xxx.xxx
|
||||
export TAG=v0.3
|
||||
export TAG=v0.4
|
||||
```
|
||||
|
||||
2. Start
|
||||
@ -30,11 +30,11 @@ bash <(curl -fsSL https://gitee.com/xxoommd/magic/raw/main/x/quick_server.sh)
|
||||
- Github:
|
||||
|
||||
```shell
|
||||
TAG=latest bash <(curl -fsSL https://raw.githubusercontent.com/xxoommd/magic/main/x/quick_client.sh)
|
||||
bash <(curl -fsSL https://raw.githubusercontent.com/xxoommd/magic/main/x/quick_client.sh)
|
||||
```
|
||||
|
||||
- Gitea:
|
||||
|
||||
```shell
|
||||
TAG=latest bash <(curl -fsSL https://gitee.com/xxoommd/magic/raw/main/x/quick_client.sh)
|
||||
bash <(curl -fsSL https://gitee.com/xxoommd/magic/raw/main/x/quick_client.sh)
|
||||
```
|
||||
|
@ -88,7 +88,7 @@ function download_naive() {
|
||||
|
||||
function update_naive() {
|
||||
rm -rf /tmp/naive*
|
||||
NAIVE_VERSION="v128.0.6613.40-1"
|
||||
NAIVE_VERSION="v135.0.7049.38-2"
|
||||
download_naive $NAIVE_VERSION "linux" "amd64" "linux" "x64" &&
|
||||
download_naive $NAIVE_VERSION "darwin" "amd64" "mac" "x64" &&
|
||||
download_naive $NAIVE_VERSION "darwin" "arm64" "mac" "arm64" &&
|
||||
@ -98,7 +98,7 @@ function update_naive() {
|
||||
}
|
||||
|
||||
function download_hysteria() {
|
||||
echo "- Downloading hysteria-linxu-amd64-avx ..." &&
|
||||
echo "- Downloading hysteria-linux-amd64-avx ..." &&
|
||||
curl -s -L -o $BIN_PATH/hysteria-linux-amd64-avx https://download.hysteria.network/app/latest/hysteria-linux-amd64-avx &&
|
||||
echo "- Downloading hysteria-darwin-amd64 ..." &&
|
||||
curl -s -L -o $BIN_PATH/hysteria-darwin-amd64 https://download.hysteria.network/app/latest/hysteria-darwin-amd64 &&
|
||||
@ -135,6 +135,7 @@ function main() {
|
||||
up_naive=true
|
||||
;;
|
||||
all)
|
||||
up_naive=true
|
||||
up_caddy=true
|
||||
up_hy=true
|
||||
;;
|
||||
|
Loading…
x
Reference in New Issue
Block a user