From 3862693dfe18216d365668cdfd6fe9317bf3c2ee Mon Sep 17 00:00:00 2001 From: zj <1052308357@qq.com> Date: Thu, 12 Feb 2026 02:40:06 +0800 Subject: [PATCH] fix --- __pycache__/backend.cpython-39.pyc | Bin 55350 -> 55345 bytes backend.py | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/__pycache__/backend.cpython-39.pyc b/__pycache__/backend.cpython-39.pyc index 367ec55a12b33cf0c3b3cf86a54e9acb08b22246..0fb80e023d198f81b0d1d05b8afba59567058eb1 100644 GIT binary patch delta 184 zcmdnCfqCNwX5K_zUM>b8ICr`ylXD|);wq*Zw#fynOc^CNFI&aSC@-~;VIgw~dltt6 z&KiakpM^|twr>sF0;$QDR=YDwPnKFE%_uY3Y|T_r*_6nIj0>4+b;0Tc!KB>e2WxIK z%1++1R@zXe#$X|1t!4>ZN=A+5Y=)G~xy;Rsj0{ylCGs@}DOt@-{YJIwHR=l#7BbWt a))+2O+|04gSddX^vd#Xw&HMM4O8@{rZ9LBa delta 186 zcmdnEfqB~oX5K_zUM>b8_;ac!lXW9+;wq*R$;kz)Oc|v%FI&aSC@;N`VIgw~dltt6 z&KiakpM^|twr>sF0_n+@R=YFGOqN4+b;0Tc!KD1;2WxIK z%1z$0R@zXu#$X|1t!4>ZN=A+5Y=)G~xy;Rsj0{ylB?>hLDOt@-{YJIwHR=l#7c$fu c))+2O+RU-eSddY9vd#WFMvKkc_E$>)0NWltL;wH) diff --git a/backend.py b/backend.py index 988870d..a1d1a32 100644 --- a/backend.py +++ b/backend.py @@ -2033,7 +2033,7 @@ def chroot_and_repair_grub(mount_point: str, target_disk: str, # 如果所有 grub2-install 方法都失败,尝试手动复制 EFI 文件(针对 Secure Boot 问题) if not grub_install_success and "Secure Boot" in str(install_errors): log_info("grub2-install 不支持 Secure Boot,尝试手动安装 EFI 文件...") - success = _manual_install_efi_files(mount_point, efi_target, efi_grub_file, efi_boot_file, bootloader_id) + success = _manual_install_efi_files(mount_point, efi_target, efi_grub_file, efi_boot_file, efi_bootloader_id) if success: grub_install_success = True log_success("✓ 手动 EFI 文件安装成功")