Merge pull request #115 from Snawoot/fix_ap

autopatch: change prefix for studio driver
This commit is contained in:
Snawoot 2019-05-28 10:59:04 +03:00 committed by GitHub
commit eae172ea85
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -166,7 +166,7 @@ def main():
drv_prefix = { drv_prefix = {
"100": "quadro_", "100": "quadro_",
"300": "", "300": "",
"301": "crd_", "301": "nsd_",
} }
installer_basename = os.path.basename(args.installer_file) installer_basename = os.path.basename(args.installer_file)
os_prefix = ('ws2012_x64' if 'winserv' in installer_basename.lower() os_prefix = ('ws2012_x64' if 'winserv' in installer_basename.lower()