modified: patch.py

This commit is contained in:
zyb 2025-06-19 13:23:52 +08:00
parent 2551551828
commit fd50885bf4

View File

@ -283,9 +283,7 @@ def patch_kernel(data:bytes,key_dict):
def patch_loader(loader_file):
try:
import sys
print("cwd:", os.getcwd())
print("sys.path:", sys.path)
print("loader patch exists:", os.path.exists('loader/patch_loader.py'))
from loader.patch_loader import patch_loader as do_patch_loader
arch = os.getenv('ARCH','x86')
if arch != 'x86':