refact(sign): skip signed files (#14005)

Signed-off-by: fufesou <linlong1266@gmail.com>
This commit is contained in:
fufesou 2026-01-10 00:55:00 +08:00 committed by GitHub
commit f3bbcc4f55
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -205,6 +205,8 @@ def sign_files(dir_path, only_ext=None):
if not only_ext[i].startswith("."):
only_ext[i] = "." + only_ext[i]
for root, dirs, files in os.walk(dir_path):
if "RustDeskPrinterDriver" in root or "usbmmidd_v2" in root:
continue
for file in files:
file_path = os.path.join(root, file)
_, ext = os.path.splitext(file_path)