diff --git a/tools/make_kit.py b/tools/make_kit.py index f36d8d1b..032f7472 100644 --- a/tools/make_kit.py +++ b/tools/make_kit.py @@ -33,7 +33,7 @@ def copy_tree(src, dst): def main(): ap = argparse.ArgumentParser(description=__doc__.splitlines()[0]) ap.add_argument('--xlate', type=Path, required=True, help='folder with nx2navi_xlate.exe and nx2navi_xlate.id') - ap.add_argument('--ffx', type=Path, help='AMD's signed amd_fidelityfx_vk.dll (FidelityFX SDK 1.1.4, MIT) for FSR 3.1') + ap.add_argument('--ffx', type=Path, help="AMD's signed amd_fidelityfx_vk.dll (FidelityFX SDK 1.1.4, MIT) for FSR 3.1") ap.add_argument('--out', type=Path, default=ROOT / 'build' / 'kit') ap.add_argument('--zip', action='store_true') a = ap.parse_args() @@ -58,7 +58,7 @@ def main(): sys.path.insert(0, str(ROOT / 'tools')) import check_content bad = [f'{p.relative_to(kit)}: {m}' for p in sorted(kit.rglob('*')) if p.is_file() - for m in check_content.problems_for(p, allow_large=p.suffix == '.exe')] + for m in check_content.problems_for(p, allow_large=p.suffix in ('.exe', '.dll'))] # the translator, AMD's DLL if bad: sys.exit('check_content refuses these kit files, not zipped:\n ' + '\n '.join(bad[:20])) size = sum(p.stat().st_size for p in kit.rglob('*') if p.is_file())