Rework the wizard APK downloading, install directly instead of telling the user to use ADB. Add setting to choose which game to start automatically.

This commit is contained in:
Guillaume Meunier
2024-10-10 23:26:09 +02:00
parent 2bb1f8278c
commit 26d271b907
23 changed files with 1809 additions and 769 deletions
+14
View File
@@ -5,6 +5,12 @@ execute_process(
ERROR_QUIET
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR})
execute_process(
COMMAND ${GIT_EXECUTABLE} rev-parse HEAD
OUTPUT_VARIABLE GIT_COMMIT
ERROR_QUIET
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR})
if (GIT_DESC)
string(STRIP ${GIT_DESC} GIT_DESC)
message(STATUS "Setting version to ${GIT_DESC} from git")
@@ -13,4 +19,12 @@ else()
message(STATUS "Setting version to ${GIT_DESC} from CMakeLists")
endif()
if (GIT_COMMIT)
string(STRIP ${GIT_COMMIT} GIT_COMMIT)
message(STATUS "Setting commit to ${GIT_COMMIT}")
else()
set(GIT_COMMIT "")
message(STATUS "Not setting commit")
endif()
configure_file(${INPUT_FILE} ${OUTPUT_FILE})