Fixes for ios build scripts

This commit is contained in:
M 2022-01-06 13:20:06 +02:00
parent ccc3c4781f
commit c7ce3dbd5c
2 changed files with 4 additions and 3 deletions

View file

@ -2,7 +2,7 @@
MONERO_COM="monero.com"
CAKEWALLET="cakewallet"
DIR=$(dirname "$0")
DIR=`pwd`
if [ -z "$APP_IOS_TYPE" ]; then
echo "Please set APP_IOS_TYPE"
@ -14,7 +14,6 @@ cd ../.. # go to root
/usr/libexec/PlistBuddy -c "Set :CFBundleIdentifier ${APP_IOS_BUNDLE_ID}" ./ios/Runner/Info.plist
/usr/libexec/PlistBuddy -c "Set :CFBundleShortVersionString ${APP_IOS_VERSION}" ./ios/Runner/Info.plist
/usr/libexec/PlistBuddy -c "Set :CFBundleVersion ${APP_IOS_BUILD_NUMBER}" ./ios/Runner/Info.plist
cd $DIR
CONFIG_ARGS=""
case $APP_IOS_TYPE in
@ -27,3 +26,5 @@ case $APP_IOS_TYPE in
esac
flutter packages pub run tool/configure.dart $CONFIG_ARGS
cd $DIR
$DIR/app_icon.sh

View file

@ -1,4 +1,4 @@
scripts/ios/app_env.sh#!/bin/sh
#!/bin/sh
APP_IOS_NAME=""
APP_IOS_VERSION=""