Compare commits

...

2 Commits

Author SHA1 Message Date
Bjorn fd331090c9
Merge pull request #751 from brainrom/patch-1
Fixed nogame.zip creatrion
2024-02-29 10:36:34 -08:00
Ilya f77a8f6cb2
Fixed nogame.zip creatrion
logo.spv wasn't packed in nogame.zip, therefore nogame is failed to start. Now all files in nogame folder are packed.
2024-02-29 11:35:55 +03:00
1 changed files with 1 additions and 1 deletions

View File

@ -663,7 +663,7 @@ if(NOT ANDROID)
add_custom_command(TARGET lovr POST_BUILD
DEPENDS "etc/nogame"
WORKING_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/etc/nogame"
COMMAND ${CMAKE_COMMAND} -E tar c "${CMAKE_CURRENT_BINARY_DIR}/nogame.zip" --format=zip arg.lua conf.lua main.lua
COMMAND ${CMAKE_COMMAND} -E tar c "${CMAKE_CURRENT_BINARY_DIR}/nogame.zip" --format=zip .
COMMAND ${CMAKE_COMMAND} -E cat "${CMAKE_CURRENT_BINARY_DIR}/nogame.zip" >> ${NOGAME_BUNDLE}
)
endif()