def dl_links(version, studio=False, type='dch'):
links = []
BASE_LINK = 'https://international.download.nvidia.com/Windows'
match studio:
case True: nsd = '-nsd'
case False: nsd = ''
match type:
case 'dch': type = '-dch'
case 'std': type = ''
for winver in ('win10', 'win10-win11'):
links.append(
f'{BASE_LINK}/{version}/{version}-{system_type()}-{winver}-64bit-international{nsd}{type}-whql.exe')
return links
I would recommend to create 2 download links for drivers.
Older drivers only have win-10 in their DL links but support Windows 11 as well.
In
dl.rs
:I would recommend to create 2 download links for drivers.
Older drivers only have
win-10
in their DL links but support Windows 11 as well.