mirror of
https://github.com/keylase/nvidia-patch.git
synced 2024-11-09 19:48: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": "",
|
||||
"301": "nsd_",
|
||||
}
|
||||
installer_basename = os.path.basename(args.installer_file)
|
||||
os_prefix = ('ws2012_x64' if 'winserv' in installer_basename.lower()
|
||||
else 'win10_x64')
|
||||
installer_name = os.path.basename(args.installer_file).lower()
|
||||
if 'winserv2008' in installer_name:
|
||||
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
|
||||
out_dir = os.path.join(
|
||||
os.path.dirname(
|
||||
|
Loading…
Reference in New Issue
Block a user