From 898d1c1789fafb7c8d30cb936cd79f49cef3df55 Mon Sep 17 00:00:00 2001 From: elseif Date: Sat, 22 Feb 2025 15:34:42 +0800 Subject: [PATCH] Update patch.py Signed-off-by: elseif --- patch.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/patch.py b/patch.py index 0c4c63a..1c4c2ca 100644 --- a/patch.py +++ b/patch.py @@ -277,6 +277,8 @@ def patch_kernel(data:bytes,key_dict): def patch_squashfs(path,key_dict): for root, dirs, files in os.walk(path): for file in files: + if file =='loader': + continue file = os.path.join(root,file) if os.path.isfile(file): data = open(file,'rb').read()