feat: update toggle region

This commit is contained in:
2026-05-09 18:32:47 +08:00
parent 2950f6b442
commit 67c5128840
3 changed files with 73 additions and 23 deletions
+12
View File
@@ -0,0 +1,12 @@
#!/bin/bash
# 切换 CN_REGION 环境变量
# cn ↔ intl 切换
if [ "$CN_REGION" = "1" ]; then
export CN_REGION=0
echo "[INFO] Region switched to: 0 (国外)"
else
export CN_REGION=1
echo "[INFO] Region switched to: 1 (国内)"
fi