mirror of
https://github.com/keylase/nvidia-patch.git
synced 2025-06-11 04:35:45 +00:00
win: support both types of hotfix urls
This commit is contained in:
parent
dfca5e1ffa
commit
4fb25f1952
3
.github/workflows/gen_win_patches.yml
vendored
3
.github/workflows/gen_win_patches.yml
vendored
@ -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"
|
||||
|
@ -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_',
|
||||
|
Loading…
x
Reference in New Issue
Block a user