Update Nlbench_beta.sh

This commit is contained in:
Jensfrank 2024-07-04 22:00:14 +08:00 committed by GitHub
parent 6f9d2a73fe
commit 11a5304c91
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -176,7 +176,8 @@ run_script() {
local region=$(detect_region)
bash <(curl -L -s media.ispvps.com) <<< "$region" | tee "$temp_file"
sed -i 's/\x1B\[[0-9;]*[JKmsu]//g' "$temp_file"
sed -i '1,/流媒体平台及游戏区域限制测试/d' "$temp_file"
sed -i -n '/流媒体平台及游戏区域限制测试/,$p' "$temp_file"
sed -i '1d' "$temp_file"
sed -i '/^$/d' "$temp_file" # 删除空行
cp "$temp_file" "${output_file}_streaming"
;;