Ventoy2Disk.exe add a star to identify secure boot

This commit is contained in:
longpanda 2021-02-25 21:03:56 +08:00
parent 3929ed55ca
commit 7279ba9bc8
10 changed files with 133 additions and 127 deletions

Binary file not shown.

View File

@ -70,6 +70,7 @@ typedef enum STR_ID
STR_WEB_REQUEST_TIMEOUT, //35 STR_WEB_REQUEST_TIMEOUT, //35
STR_WEB_SERVICE_UNAVAILABLE, //36 STR_WEB_SERVICE_UNAVAILABLE, //36
STR_WEB_TOKEN_MISMATCH, //37 STR_WEB_TOKEN_MISMATCH, //37
STR_WEB_SERVICE_BUSY, //38
STR_ID_MAX STR_ID_MAX
}STR_ID; }STR_ID;

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 958 B

View File

@ -231,5 +231,6 @@ UINT32 VentoyCrc32(void *Buffer, UINT32 Length);
liCurrentPosition.QuadPart = pos; \ liCurrentPosition.QuadPart = pos; \
SetFilePointerEx(hDrive, liCurrentPosition, &liCurrentPosition, FILE_BEGIN)\ SetFilePointerEx(hDrive, liCurrentPosition, &liCurrentPosition, FILE_BEGIN)\
#define SECURE_ICON_STRING "*"
#endif #endif

View File

@ -140,6 +140,7 @@
<ItemGroup> <ItemGroup>
<Image Include="res\icon2.ico" /> <Image Include="res\icon2.ico" />
<Image Include="Res\refresh.ico" /> <Image Include="Res\refresh.ico" />
<Image Include="Res\secure.ico" />
<Image Include="Res\ventoy.ico" /> <Image Include="Res\ventoy.ico" />
</ItemGroup> </ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />

View File

@ -153,5 +153,8 @@
<Image Include="Res\refresh.ico"> <Image Include="Res\refresh.ico">
<Filter>资源文件</Filter> <Filter>资源文件</Filter>
</Image> </Image>
<Image Include="Res\secure.ico">
<Filter>资源文件</Filter>
</Image>
</ItemGroup> </ItemGroup>
</Project> </Project>

Binary file not shown.

Binary file not shown.