mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2025-05-04 20:02:39 +00:00
ios launch images
This commit is contained in:
parent
77f4eff913
commit
5b0c4ce322
11 changed files with 22 additions and 0 deletions
asset_sources/other/ios_launch_image
campfire
stack_duo
stack_wallet
ios
scripts/app_config/platforms/ios
BIN
asset_sources/other/ios_launch_image/campfire/LaunchImage.png
Normal file
BIN
asset_sources/other/ios_launch_image/campfire/LaunchImage.png
Normal file
Binary file not shown.
After ![]() (image error) Size: 15 KiB |
BIN
asset_sources/other/ios_launch_image/campfire/LaunchImage@2x.png
Normal file
BIN
asset_sources/other/ios_launch_image/campfire/LaunchImage@2x.png
Normal file
Binary file not shown.
After ![]() (image error) Size: 44 KiB |
BIN
asset_sources/other/ios_launch_image/campfire/LaunchImage@3x.png
Normal file
BIN
asset_sources/other/ios_launch_image/campfire/LaunchImage@3x.png
Normal file
Binary file not shown.
After ![]() (image error) Size: 73 KiB |
Before ![]() (image error) Size: 2.2 KiB After ![]() (image error) Size: 2.2 KiB ![]() ![]() |
Before ![]() (image error) Size: 4.8 KiB After ![]() (image error) Size: 4.8 KiB ![]() ![]() |
Before ![]() (image error) Size: 16 KiB After ![]() (image error) Size: 16 KiB ![]() ![]() |
Binary file not shown.
After ![]() (image error) Size: 2.2 KiB |
Binary file not shown.
After ![]() (image error) Size: 4.8 KiB |
Binary file not shown.
After ![]() (image error) Size: 16 KiB |
3
ios/.gitignore
vendored
3
ios/.gitignore
vendored
|
@ -30,3 +30,6 @@ Runner/GeneratedPluginRegistrant.*
|
|||
!default.mode2v3
|
||||
!default.pbxuser
|
||||
!default.perspectivev3
|
||||
|
||||
# app specific, handled by scripts
|
||||
Runner/Assets.xcassets/LaunchImage.imageset/*.png
|
||||
|
|
|
@ -15,3 +15,22 @@ done
|
|||
# Configure ios for Duo.
|
||||
sed -i '' "s/${APP_NAME_PLACEHOLDER}/${NEW_NAME}/g" "${APP_PROJECT_ROOT_DIR}/${IOS_TF_0}"
|
||||
sed -i '' "s/${APP_ID_PLACEHOLDER}/${NEW_APP_ID}/g" "${APP_PROJECT_ROOT_DIR}/${IOS_TF_1}"
|
||||
|
||||
# use app specific launch images
|
||||
LAUNCH_IMAGES_DIR="${APP_PROJECT_ROOT_DIR}/ios/Runner/Assets.xcassets/LaunchImage.imageset"
|
||||
for file in "${LAUNCH_IMAGES_DIR}"/*.png;
|
||||
do
|
||||
# Check if the file exists to avoid errors if no PNG files are found
|
||||
if [ -f "${file}" ]; then
|
||||
rm "${file}"
|
||||
fi
|
||||
done
|
||||
|
||||
LAUNCH_IMAGES_TEMPLATES_DIR="${APP_PROJECT_ROOT_DIR}/asset_sources/other/ios_launch_image/${NEW_BASIC_NAME}"
|
||||
for file in "${LAUNCH_IMAGES_TEMPLATES_DIR}"/*.png;
|
||||
do
|
||||
# Check if the file exists to avoid errors if no PNG files are found
|
||||
if [ -f "${file}" ]; then
|
||||
cp "${file}" "${LAUNCH_IMAGES_DIR}/"
|
||||
fi
|
||||
done
|
Loading…
Reference in a new issue