mirror of
https://github.com/keylase/nvidia-patch.git
synced 2024-08-30 18:32:50 +00:00
Merge pull request #86 from Snawoot/ndl_creator_ready
Adds support for Creator Ready Driver in backoffice machinery
This commit is contained in:
commit
472905b75d
@ -34,6 +34,7 @@ class CertLevel(enum.Enum):
|
||||
Certified = 1
|
||||
ODE = 2
|
||||
QNF = 3
|
||||
CRD = 4
|
||||
|
||||
def __str__(self):
|
||||
return self.name
|
||||
|
@ -70,6 +70,15 @@
|
||||
"certlevel": "Certified"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "nvidia_downloads",
|
||||
"name": "downloads win creator ready",
|
||||
"params": {
|
||||
"os": "Windows10_64",
|
||||
"product": "GeForce",
|
||||
"certlevel": "CRD"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "nvidia_downloads",
|
||||
"name": "downloads win beta",
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user