From: longpanda Date: Sun, 15 Aug 2021 16:39:26 +0000 (+0800) Subject: Support 2k10 PE x86 series X-Git-Tag: v1.0.51~8 X-Git-Url: https://glassweightruler.freedombox.rocks/gitweb/Ventoy.git/commitdiff_plain/9615e7eaa0cb6d02ac3d94f0bf7d06f3ffc277ed Support 2k10 PE x86 series --- diff --git a/INSTALL/grub/grub.cfg b/INSTALL/grub/grub.cfg index ac65130..dc3f646 100644 --- a/INSTALL/grub/grub.cfg +++ b/INSTALL/grub/grub.cfg @@ -164,7 +164,11 @@ function distro_specify_wim_patch { vt_windows_collect_wim_patch wim /BOOT/H3_7PE.WIM vt_windows_collect_wim_patch wim /BOOT/H3_8PE.WIM vt_windows_collect_wim_patch wim /BOOT/H3_81PE.WIM - fi + elif [ -d (loop)/2k10/winpe ]; then + vt_windows_collect_wim_patch wim /2k10/winpe/w1086pe.wim + vt_windows_collect_wim_patch wim /2k10/winpe/w8x86pe.wim + vt_windows_collect_wim_patch wim /2k10/winpe/w7x86pe.wim + fi } function distro_specify_wim_patch_phase2 { diff --git a/INSTALL/ventoy/vtoyjump32.exe b/INSTALL/ventoy/vtoyjump32.exe index 347cd65..82fe2ed 100644 Binary files a/INSTALL/ventoy/vtoyjump32.exe and b/INSTALL/ventoy/vtoyjump32.exe differ diff --git a/INSTALL/ventoy/vtoyjump64.exe b/INSTALL/ventoy/vtoyjump64.exe index caa41c4..63659aa 100644 Binary files a/INSTALL/ventoy/vtoyjump64.exe and b/INSTALL/ventoy/vtoyjump64.exe differ diff --git a/vtoyjump/vtoyjump/vtoyjump.c b/vtoyjump/vtoyjump/vtoyjump.c index 9f6443e..f4cdd40 100644 --- a/vtoyjump/vtoyjump/vtoyjump.c +++ b/vtoyjump/vtoyjump/vtoyjump.c @@ -713,7 +713,7 @@ static BOOL Is2K10PE(void) memset(szLine, 0, sizeof(szLine)); while (fgets(szLine, sizeof(szLine) - 1, fp)) { - if (strstr(szLine, "\\2k10\\")) + if (strstr(szLine, "2k10\\")) { bRet = TRUE; break;