mirror of
https://github.com/keylase/nvidia-patch.git
synced 2024-11-26 15:37:18 +00:00
readme-autogen: allow to add driver w/o fbc patch
This commit is contained in:
parent
62e6db9ebe
commit
2e596af97a
@ -68,6 +68,10 @@ def parse_args():
|
|||||||
parser.add_argument("--skip-url-check",
|
parser.add_argument("--skip-url-check",
|
||||||
action="store_true",
|
action="store_true",
|
||||||
help="skip driver URL check")
|
help="skip driver URL check")
|
||||||
|
parser.add_argument("--no-fbc",
|
||||||
|
dest="fbc",
|
||||||
|
action="store_false",
|
||||||
|
help="add driver w/o NvFBC patch")
|
||||||
parser.add_argument("version",
|
parser.add_argument("version",
|
||||||
help="driver version")
|
help="driver version")
|
||||||
args = parser.parse_args()
|
args = parser.parse_args()
|
||||||
@ -171,7 +175,7 @@ def main():
|
|||||||
new_driver = {
|
new_driver = {
|
||||||
"version": args.version,
|
"version": args.version,
|
||||||
"nvenc_patch": True,
|
"nvenc_patch": True,
|
||||||
"nvfbc_patch": True,
|
"nvfbc_patch": args.fbc,
|
||||||
}
|
}
|
||||||
if url:
|
if url:
|
||||||
new_driver["driver_url"] = url
|
new_driver["driver_url"] = url
|
||||||
|
Loading…
Reference in New Issue
Block a user