From 9540a78779c80d784238e2a3e52563ea5b795893 Mon Sep 17 00:00:00 2001 From: zhao Date: Wed, 2 Apr 2025 01:43:36 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20OpenWrt/upload.sh?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: zhao --- OpenWrt/upload.sh | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/OpenWrt/upload.sh b/OpenWrt/upload.sh index 3098aaa..bc4e825 100644 --- a/OpenWrt/upload.sh +++ b/OpenWrt/upload.sh @@ -44,12 +44,6 @@ for url in $ASSETS; do done # 重命名文件 -for file in openwrt*; do - if [ -e "$file" ]; then - newname="zerowrt-plus-${DATE_VERSION}${file#openwrt}" - echo "重命名: $file → $newname" - mv -- "$file" "$newname" - fi -done +rename 's/^openwrt/zerowrt-plus-$date/' openwrt* echo "✅ 下载和重命名完成" \ No newline at end of file