mirror of
https://github.com/keylase/nvidia-patch.git
synced 2026-11-28 08:51:29 +00:00
win: autopatch: forward --7zip argument to patch_flow (#1148)
parse_args() stores -7/--7zip in args.sevenzip, but main() never passed it to patch_flow(), so extraction always used the default "7z" and failed with FileNotFoundError when 7z is not on PATH. Forward sevenzip=args.sevenzip.
This commit is contained in:
@@ -315,7 +315,8 @@ def main():
|
||||
with tempfile.TemporaryDirectory() as tempdir:
|
||||
print(f"Using tempdir `{tempdir}`")
|
||||
for params in combinations:
|
||||
patch_flow(*params, tempdir=tempdir, direct=args.direct, stdout=args.stdout)
|
||||
patch_flow(*params, tempdir=tempdir, direct=args.direct, stdout=args.stdout,
|
||||
sevenzip=args.sevenzip)
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
|
||||
Reference in New Issue
Block a user