更新 OpenWrt/upload.sh

Signed-off-by: zhao <zhao@noreply.localhost>
This commit is contained in:
zhao 2025-04-02 01:43:36 +08:00
parent 22c473efae
commit 9540a78779

View File

@ -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 "✅ 下载和重命名完成"