Browse Source

Update patch.py

Signed-off-by: elseif <elseif@live.cn>
pull/110/head
elseif 1 year ago
committed by GitHub
parent
commit
898d1c1789
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 2
      patch.py

2
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()

Loading…
Cancel
Save