From 4fb25f1952cdc5ed72eb1abf3eb00541a38d58df Mon Sep 17 00:00:00 2001 From: Jai Luthra Date: Sat, 7 Jun 2025 00:28:11 +0530 Subject: [PATCH] win: support both types of hotfix urls --- .github/workflows/gen_win_patches.yml | 3 +++ tools/readme-autogen/constants.py | 2 ++ 2 files changed, 5 insertions(+) diff --git a/.github/workflows/gen_win_patches.yml b/.github/workflows/gen_win_patches.yml index 9cf9c54..fc3339b 100644 --- a/.github/workflows/gen_win_patches.yml +++ b/.github/workflows/gen_win_patches.yml @@ -15,6 +15,7 @@ on: - DCH - Studio Driver - DCH (Hotfix) + - DCH (Notebook Hotfix) description: description: 'Commit description' required: false @@ -81,6 +82,8 @@ jobs: python autopatch.py https://international.download.nvidia.com/Windows/${{ env.VERSION }}/${{ env.VERSION }}-desktop-win10-win11-64bit-international-nsd-dch-whql.exe elif [ "${{ env.VARIANT }}" == "DCH (Hotfix)" ]; then python autopatch.py https://international.download.nvidia.com/Windows/${{ env.VERSION }}hf/${{ env.VERSION }}-desktop-win10-win11-64bit-international-dch-hf.exe + elif [ "${{ env.VARIANT }}" == "DCH (Notebook Hotfix)" ]; then + python autopatch.py https://international.download.nvidia.com/Windows/${{ env.VERSION }}hf/${{ env.VERSION }}-desktop-notebook-win10-win11-64bit-international-dch.hf.exe fi echo "autopatch.py executed successfully" diff --git a/tools/readme-autogen/constants.py b/tools/readme-autogen/constants.py index 0851d1c..03528ca 100644 --- a/tools/readme-autogen/constants.py +++ b/tools/readme-autogen/constants.py @@ -43,6 +43,7 @@ DRIVER_URL_TEMPLATE = { (OSKind.Windows, Product.GeForce, WinSeries.win10, 'DCH'): ["https://international.download.nvidia.com/Windows/$version/$version-desktop-win10-win11-64bit-international-dch-whql.exe", "https://international.download.nvidia.com/tesla/$version/$version-data-center-tesla-desktop-win10-win11-64bit-dch-international.exe"], (OSKind.Windows, Product.GeForce, WinSeries.win10, 'DCH (Hotfix)'): "https://international.download.nvidia.com/Windows/${version}hf/$version-desktop-win10-win11-64bit-international-dch-hf.exe", + (OSKind.Windows, Product.GeForce, WinSeries.win10, 'DCH (Notebook Hotfix)'): "https://international.download.nvidia.com/Windows/${version}hf/$version-desktop-notebook-win10-win11-64bit-international-dch.hf.exe", (OSKind.Windows, Product.GeForce, WinSeries.win10, 'Studio Driver'): "https://international.download.nvidia.com/Windows/$version/$version-desktop-win10-win11-64bit-international-nsd-dch-whql.exe", (OSKind.Windows, Product.GeForce, WinSeries.win10, 'Vulkan Beta'): "", (OSKind.Windows, Product.GeForce, WinSeries.ws2016, 'DCH'): "https://international.download.nvidia.com/tesla/$version/$version-data-center-tesla-desktop-winserver-2016-2019-2022-dch-international.exe", @@ -58,6 +59,7 @@ DRIVER_DIR_PREFIX = { (Product.GeForce, ''): '', (Product.GeForce, 'DCH'): '', (Product.GeForce, 'DCH (Hotfix)'): '', + (Product.GeForce, 'DCH (Notebook Hotfix)'): '', (Product.GeForce, 'Studio Driver'): 'nsd_', (Product.GeForce, 'Vulkan Beta'): '', (Product.Quadro, ''): 'quadro_',