From 166a32c383d334e4ad172337f4782107d3a906f5 Mon Sep 17 00:00:00 2001 From: wcbing Date: Fri, 22 Nov 2024 18:45:17 +0800 Subject: [PATCH] fix: remove $0d from the end of the link --- get/dida.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/get/dida.sh b/get/dida.sh index 160eccd..fc2d4cb 100644 --- a/get/dida.sh +++ b/get/dida.sh @@ -1,4 +1,4 @@ -X64_URL=$(curl -sI "https://dida365.com/static/getApp/download?type=linux_deb_x64" | grep location | cut -d ' ' -f 2) +X64_URL=$(curl -sI "https://dida365.com/static/getApp/download?type=linux_deb_x64" | grep location | cut -d ' ' -f 2 | tr -d '\r') # arm64 https://dida365.com/static/getApp/download?type=linux_deb_arm64 # https://cdn.dida365.cn/download/linux/linux_deb_x64/dida-6.0.0-amd64.deb