Add icon for win32 #18

Open
yefeng wants to merge 1 commits from yefeng/minecraft-pe-0.6.1:main into main
3 changed files with 2 additions and 0 deletions

View File

@@ -31,6 +31,7 @@ if (${PLATFORM} STREQUAL "Desktop")
endif()
if (WIN32)
target_sources(MinecraftPE PRIVATE data/images/pe.rc)
add_definitions(-D_CRT_SECURE_NO_WARNINGS)
include_directories(misc/windows)
set(EXTRA_LIBS ws2_32 winhttp)

BIN
data/images/pe.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 63 KiB

1
data/images/pe.rc Normal file
View File

@@ -0,0 +1 @@
IDI_ICON1 ICON "pe.ico"