From 83a85b9ccfefb343878c828717998e877a337435 Mon Sep 17 00:00:00 2001 From: bin456789 Date: Wed, 7 Jan 2026 20:30:32 +0800 Subject: [PATCH] =?UTF-8?q?windows:=20=E4=BD=BF=E7=94=A8=E6=9B=B4=E5=87=86?= =?UTF-8?q?=E7=A1=AE=E7=9A=84=20intel=20nic=20=E9=A9=B1=E5=8A=A8=E9=93=BE?= =?UTF-8?q?=E6=8E=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- trans.sh | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/trans.sh b/trans.sh index c7ae231..01003d5 100644 --- a/trans.sh +++ b/trans.sh @@ -6038,8 +6038,18 @@ install_windows() { echo https://downloadmirror.intel.com/849483/Wired_driver_30.0.1_${arch_intel}.zip ;; x64) + id=$( + case "$product_ver" in + 10) echo 18293 ;; + 11) echo 727998 ;; + 2016) echo 18737 ;; + 2019) echo 19372 ;; + 2022) echo 706171 ;; + 2025) echo 838943 ;; + esac + ) # intel 禁止了 wget 下载网页 - wget -U curl/7.54.1 https://www.intel.com/content/www/us/en/download/727998.html -O- | + wget -U curl/7.54.1 https://www.intel.com/content/www/us/en/download/$id.html -O- | grep -Eio -m1 "\"https://.+/(Wired_driver|prowin).*${arch_intel}(legacy)?\.(zip|exe)\"" | tr -d '"' | grep . ;; esac ;;