From cca2b2dc3f48f2ecc8f6d6604e786c461b18e342 Mon Sep 17 00:00:00 2001 From: gamesme Date: Sat, 30 Nov 2024 06:29:04 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20trojan.sh?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- trojan.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/trojan.sh b/trojan.sh index c0ff2c8..0dfc985 100644 --- a/trojan.sh +++ b/trojan.sh @@ -66,7 +66,9 @@ EOF rm -rf /usr/share/nginx/html/* cd /usr/share/nginx/html/ wget -q https://github.com/mayswind/AriaNg-DailyBuild/archive/master.zip >/dev/null 2>&1 - unzip -j master.zip "AriaNg-DailyBuild-master/*" >/dev/null 2>&1 + unzip master.zip "AriaNg-DailyBuild-master/*" >/dev/null 2>&1 + mv ./AriaNg-DailyBuild-master/* . + rm -rf AriaNg-DailyBuild-master sleep 5 rm master.zip if [ ! -d "/usr/src" ]; then