From be58d3cf0bb7b269b672519322cc9a3c92e7f3c8 Mon Sep 17 00:00:00 2001 From: Vladislav Yarmak Date: Wed, 3 Apr 2019 02:18:27 +0300 Subject: [PATCH] win: autopatch: add support for creator ready driver --- win/tools/autopatch/autopatch.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/win/tools/autopatch/autopatch.py b/win/tools/autopatch/autopatch.py index 40c3b0e..0ab7fab 100755 --- a/win/tools/autopatch/autopatch.py +++ b/win/tools/autopatch/autopatch.py @@ -163,7 +163,12 @@ def main(): else: version, product_type = identify_driver(args.installer_file, 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( os.path.dirname( os.path.abspath(__file__)), '..', '..', 'win10_x64', driver_name)