Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ffaa518
commit aa6c4e6
Showing
2,001 changed files
with
55,615 additions
and
42,899 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,38 +1,27 @@ | ||
SET(REMOTE_CONFIG_URL_PROD https://appl.governikus-asp.de/ausweisapp2) | ||
IF(JENKINS_APPCAST) | ||
SET(REMOTE_CONFIG_URL https://buildautentapp/job/${JENKINS_APPCAST}/lastSuccessfulBuild/artifact CACHE STRING "Remote config download URL" FORCE) | ||
SET(REMOTE_CONFIG_URL https://vtf-aajenkins.tf.bos-test.de/job/${JENKINS_APPCAST}/lastSuccessfulBuild/artifact CACHE STRING "Remote config download URL" FORCE) | ||
ELSE() | ||
SET(REMOTE_CONFIG_URL https://appl.governikus-asp.de/ausweisapp2 CACHE STRING "Remote config download URL" FORCE) | ||
SET(REMOTE_CONFIG_URL ${REMOTE_CONFIG_URL_PROD} CACHE STRING "Remote config download URL" FORCE) | ||
ENDIF() | ||
|
||
FUNCTION(CONFIGURE_DEFAULT_FILES _destination) | ||
# Set DEFAULT_PROVIDER_FILE to replace this in config.json.in. | ||
IF(IOS) | ||
SET(DEFAULT_PROVIDER_FILE default-providers-ios.json) | ||
ELSE() | ||
SET(DEFAULT_PROVIDER_FILE default-providers.json) | ||
ENDIF() | ||
|
||
IF(JENKINS_APPCAST) | ||
SET(REMOTE_CONFIG_PATH_APPCAST /build) | ||
SET(REMOTE_CONFIG_PATH_APPCAST_BETA /build) | ||
SET(REMOTE_CONFIG_PATH_PROVIDERS /source/resources) | ||
SET(REMOTE_CONFIG_PATH_DRIVERS /source/resources) | ||
SET(REMOTE_CONFIG_PATH_READERS /source/resources) | ||
ELSE() | ||
SET(REMOTE_CONFIG_PATH_APPCAST ) | ||
SET(REMOTE_CONFIG_PATH_APPCAST_BETA /beta) | ||
SET(REMOTE_CONFIG_PATH_PROVIDERS ) | ||
SET(REMOTE_CONFIG_PATH_DRIVERS /driver) | ||
SET(REMOTE_CONFIG_PATH_READERS /reader) | ||
ENDIF() | ||
SET(REMOTE_CONFIG_URL_READER_IMAGES ${REMOTE_CONFIG_URL_PROD}/reader) | ||
|
||
# Copy secure storage file, so that the AusweisApp2 can be started from the build directory. | ||
CONFIGURE_FILE(${RESOURCES_DIR}/config.json.in ${_destination}/config.json @ONLY) | ||
|
||
# The same with default providers | ||
CONFIGURE_FILE(${RESOURCES_DIR}/${DEFAULT_PROVIDER_FILE} ${_destination}/default-providers.json COPYONLY) | ||
|
||
# The same with default supported devices | ||
CONFIGURE_FILE(${RESOURCES_DIR}/default-supported-devices.json ${_destination}/default-supported-devices.json COPYONLY) | ||
|
||
# Copy qtlogging.ini file | ||
CONFIGURE_FILE(${RESOURCES_DIR}/qtlogging.ini ${_destination}/qtlogging.ini COPYONLY) | ||
ENDFUNCTION() |
Oops, something went wrong.