mirror of
https://github.com/keylase/nvidia-patch.git
synced 2024-11-10 03:58:20 +00:00
ap: add support for WS2016-2019
This commit is contained in:
parent
df6b2279b7
commit
0d0f9c8bf2
@ -168,9 +168,13 @@ def main():
|
|||||||
"300": "",
|
"300": "",
|
||||||
"301": "nsd_",
|
"301": "nsd_",
|
||||||
}
|
}
|
||||||
installer_basename = os.path.basename(args.installer_file)
|
installer_name = os.path.basename(args.installer_file).lower()
|
||||||
os_prefix = ('ws2012_x64' if 'winserv' in installer_basename.lower()
|
if 'winserv2008' in installer_name:
|
||||||
else 'win10_x64')
|
os_prefix = 'ws2012_x64'
|
||||||
|
elif 'winserv-2016' in installer_name:
|
||||||
|
os_prefix = 'ws2016_x64'
|
||||||
|
else:
|
||||||
|
os_prefix = 'win10_x64'
|
||||||
driver_name = drv_prefix[product_type] + version
|
driver_name = drv_prefix[product_type] + version
|
||||||
out_dir = os.path.join(
|
out_dir = os.path.join(
|
||||||
os.path.dirname(
|
os.path.dirname(
|
||||||
|
Loading…
Reference in New Issue
Block a user