mirror of https://github.com/ventoy/Ventoy.git
Support 2k10 PE x86 series
This commit is contained in:
parent
6a244ff260
commit
9615e7eaa0
|
@ -164,6 +164,10 @@ 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
|
||||||
|
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
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Binary file not shown.
Binary file not shown.
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue