mirror of
https://github.com/keylase/nvidia-patch.git
synced 2026-11-28 08:51:29 +00:00
- Replace the hardcoded newest-generation -S/-R defaults with auto-detection over a BYTECODE_GENERATIONS table of known NVENC generations, so older drivers resolve without passing patterns explicitly. - Keep explicit -S/-R arguments, including comma-separated fallback alternatives, working unchanged, and add the legacy x86 pair previously supplied only by legacy.sh. - Verify an extracted target file actually appeared and fall back between the .dll and .dl_ spellings, since 7z exits 0 when the requested member is absent. - Require -S and -R together or neither, and fail clearly when no known generation matches exactly once in the target library. - Add regression tests for bytecode auto-detection, target resolution and argument validation, and update the README flag defaults. - Target: autopatch