Support 2k10 PE x86 series

This commit is contained in:
longpanda 2021-08-16 00:39:26 +08:00
parent 6a244ff260
commit 9615e7eaa0
4 changed files with 6 additions and 2 deletions

View File

@ -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_7PE.WIM
vt_windows_collect_wim_patch wim /BOOT/H3_8PE.WIM vt_windows_collect_wim_patch wim /BOOT/H3_8PE.WIM
vt_windows_collect_wim_patch wim /BOOT/H3_81PE.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 { function distro_specify_wim_patch_phase2 {

Binary file not shown.

Binary file not shown.

View File

@ -713,7 +713,7 @@ static BOOL Is2K10PE(void)
memset(szLine, 0, sizeof(szLine)); memset(szLine, 0, sizeof(szLine));
while (fgets(szLine, sizeof(szLine) - 1, fp)) while (fgets(szLine, sizeof(szLine) - 1, fp))
{ {
if (strstr(szLine, "\\2k10\\")) if (strstr(szLine, "2k10\\"))
{ {
bRet = TRUE; bRet = TRUE;
break; break;