add ios launchscreen switch according to edit cfg (#3946)

This commit is contained in:
mmyduckx
2021-09-30 15:43:50 +08:00
committed by GitHub
parent de084f4f29
commit ddcf673d8d
3 changed files with 5 additions and 0 deletions
+5
View File
@@ -13,6 +13,11 @@ set(PROJ_COMMON_SOURCES
${CMAKE_CURRENT_LIST_DIR}/../common/Classes/Game.h
${CMAKE_CURRENT_LIST_DIR}/../common/Classes/Game.cpp
)
if (USE_PORTRAIT)
configure_file(${CMAKE_CURRENT_LIST_DIR}/LaunchScreenBackgroundPortrait.png ${CMAKE_CURRENT_LIST_DIR}/LaunchScreenBackground.png COPYONLY)
else()
configure_file(${CMAKE_CURRENT_LIST_DIR}/LaunchScreenBackgroundLandscape.png ${CMAKE_CURRENT_LIST_DIR}/LaunchScreenBackground.png COPYONLY)
endif()
set(UI_RESOURCES
${CMAKE_CURRENT_LIST_DIR}/LaunchScreenBackground.png

Before

Width:  |  Height:  |  Size: 501 KiB

After

Width:  |  Height:  |  Size: 501 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 454 KiB