diff --git a/INSTALL/Ventoy2Disk.exe b/INSTALL/Ventoy2Disk.exe index 5c4f5ae9..750e043d 100644 Binary files a/INSTALL/Ventoy2Disk.exe and b/INSTALL/Ventoy2Disk.exe differ diff --git a/Ventoy2Disk/Ventoy2Disk/PhyDrive.c b/Ventoy2Disk/Ventoy2Disk/PhyDrive.c index 1cd00544..6eade725 100644 --- a/Ventoy2Disk/Ventoy2Disk/PhyDrive.c +++ b/Ventoy2Disk/Ventoy2Disk/PhyDrive.c @@ -818,13 +818,21 @@ int GetVentoyVerInPhyDrive(const PHY_DRIVE_INFO *pDriveInfo, UINT64 Part2StartSe if (0 == fl_attach_media(VentoyFatDiskRead, NULL)) { + Log("attach media success..."); rc = GetVentoyVersionFromFatFile(VerBuf, BufLen); } else { + Log("attach media failed..."); rc = 1; } + Log("GetVentoyVerInPhyDrive rc=%d...", rc); + if (rc == 0) + { + Log("VentoyVerInPhyDrive %d is <%s>...", pDriveInfo->PhyDrive, VerBuf); + } + fl_shutdown(); CHECK_CLOSE_HANDLE(hDrive);