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:
@@ -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})
|
||||
|
||||
Reference in New Issue
Block a user