From 688bb452aa5d483e27775ca2e83ee7764abd9fc8 Mon Sep 17 00:00:00 2001 From: suut Date: Fri, 6 Feb 2026 21:39:19 +0100 Subject: [PATCH] Fix bad missing tools warning --- CHANGELOG.md | 1 + software/script/chameleon_cli_unit.py | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 289814e..bc26295 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,7 @@ All notable changes to this project will be documented in this file. This project uses the changelog in accordance with [keepchangelog](http://keepachangelog.com/). Please use this to write notable changes, which is not the same as git commit log... ## [unreleased][unreleased] + - Fix bad missing tools warning (@suut) - Fix for FAST_READ command for nfc - mf0 tags - Rewrite of the dynamic and static locks logic for NTAG213, NTAG215 and NTAG216; we shouldn't take into account the block lock bits - Fixed an issue where we wouldn't be able to change CFG0 and CFG1 for NTAG213, NTAG215 and NTG216 once a password was added even if the cfg bit was reset. diff --git a/software/script/chameleon_cli_unit.py b/software/script/chameleon_cli_unit.py index fe1e7b8..7fbaae9 100644 --- a/software/script/chameleon_cli_unit.py +++ b/software/script/chameleon_cli_unit.py @@ -66,12 +66,11 @@ def load_dic_file(import_dic, keys): def check_tools(): - bin_dir = Path.cwd() / "bin" missing_tools = [] for tool in ("staticnested", "nested", "darkside", "mfkey32v2", "staticnested_1nt", "staticnested_2x1nt_rf08s", "staticnested_2x1nt_rf08s_1key"): - if any(bin_dir.glob(f"{tool}*")): + if any(default_cwd.glob(f"{tool}*")): continue else: missing_tools.append(tool)