mirror of
https://github.com/keylase/nvidia-patch.git
synced 2024-11-09 19:48:20 +00:00
win: autopatch: add support for creator ready driver
This commit is contained in:
parent
49e2cf2021
commit
be58d3cf0b
@ -163,7 +163,12 @@ def main():
|
|||||||
else:
|
else:
|
||||||
version, product_type = identify_driver(args.installer_file,
|
version, product_type = identify_driver(args.installer_file,
|
||||||
sevenzip=args.sevenzip)
|
sevenzip=args.sevenzip)
|
||||||
driver_name = "quadro_" + version if product_type == "100" else version
|
drv_prefix = {
|
||||||
|
"100": "quadro_",
|
||||||
|
"300": "",
|
||||||
|
"301": "crd_",
|
||||||
|
}
|
||||||
|
driver_name = drv_prefix[product_type] + version
|
||||||
out_dir = os.path.join(
|
out_dir = os.path.join(
|
||||||
os.path.dirname(
|
os.path.dirname(
|
||||||
os.path.abspath(__file__)), '..', '..', 'win10_x64', driver_name)
|
os.path.abspath(__file__)), '..', '..', 'win10_x64', driver_name)
|
||||||
|
Loading…
Reference in New Issue
Block a user