windows: 添加 GCP 兼容性说明

This commit is contained in:
bin456789
2025-10-11 00:01:18 +08:00
parent d212eb793c
commit 48823b4101
4 changed files with 22 additions and 6 deletions

View File

@ -248,8 +248,8 @@ update_part() {
}
is_efi() {
if [ -n "$force" ]; then
[ "$force" = efi ]
if [ -n "$force_boot_mode" ]; then
[ "$force_boot_mode" = efi ]
else
[ -d /sys/firmware/efi/ ]
fi