Fixes for ios build scripts
M committed
Jan 6, 2022 at 13:20 UTC
c7ce3dbd5cd1d90622736e942fb8e2630c34f7c9
2 files changed
+4
-3
scripts/ios/app_config.sh
+3
-2
@@ -2,7 +2,7 @@
2
3
MONERO_COM="monero.com"
4
CAKEWALLET="cakewallet"
5
-DIR=$(dirname "$0")
5
+DIR=`pwd`
6
7
if [ -z "$APP_IOS_TYPE" ]; then
8
echo "Please set APP_IOS_TYPE"
@@ -14,7 +14,6 @@ cd ../.. # go to root
14
/usr/libexec/PlistBuddy -c "Set :CFBundleIdentifier ${APP_IOS_BUNDLE_ID}" ./ios/Runner/Info.plist
15
/usr/libexec/PlistBuddy -c "Set :CFBundleShortVersionString ${APP_IOS_VERSION}" ./ios/Runner/Info.plist
16
/usr/libexec/PlistBuddy -c "Set :CFBundleVersion ${APP_IOS_BUILD_NUMBER}" ./ios/Runner/Info.plist
17
-cd $DIR
17
CONFIG_ARGS=""
18
19
case $APP_IOS_TYPE in
@@ -27,3 +26,5 @@ case $APP_IOS_TYPE in
26
esac
27
28
flutter packages pub run tool/configure.dart $CONFIG_ARGS
29
+cd $DIR
30
+$DIR/app_icon.sh
scripts/ios/app_env.sh
+1
-1
@@ -1,4 +1,4 @@
1
-scripts/ios/app_env.sh#!/bin/sh
1
+#!/bin/sh
2
3
APP_IOS_NAME=""
4
APP_IOS_VERSION=""