From c7195db4ca378af8de96271edb446852d6f2a4a1 Mon Sep 17 00:00:00 2001 From: Felix Hammerl Date: Sat, 10 Jan 2015 12:51:43 +0100 Subject: [PATCH] Copy splash screens in build script --- res/cca_build.sh | 25 ++++++++++++++++++++----- 1 file changed, 20 insertions(+), 5 deletions(-) diff --git a/res/cca_build.sh b/res/cca_build.sh index b53830b..533e2ce 100755 --- a/res/cca_build.sh +++ b/res/cca_build.sh @@ -23,17 +23,32 @@ cca create $DIR/Whiteout --link-to=dist/manifest.json cd $DIR/Whiteout cca prepare +# +# post-build tweaks +# + +echo "" +echo "## Running post-build tweaks" + # cp signing config +echo "Copy Android signing config" cp ../../../res/android-release-keys.properties . -# change ios status bar in cordova settings # status bar should not overlay the web view +echo "Tweaking iOS status bar to not overlay the web view" sed -i "" 's/StatusBarOverlaysWebView" value="true"/StatusBarOverlaysWebView" value="false"/' "platforms/ios/$PROJNAME/config.xml" + # status bar should use dark font on light background +echo "Tweaking iOS status bar to use dark font on light background" sed -i "" 's/StatusBarStyle" value="lightcontent"/StatusBarStyle" value="darkcontent"/' "platforms/ios/$PROJNAME/config.xml" +# copy splash screens +echo "Copying splash screens" +cp ../../../src/img/Default* "platforms/ios/$PROJNAME/Resources/splash" + # print reminder for manual work in xcode -echo '### Reminder for manual steps required for iOS release' -echo '### Change deployment target to iOS 8.1' -echo '### Use icon set' -echo '### Use correct 60px icon' \ No newline at end of file +echo "" +echo "### Reminder for manual steps required for iOS release" +echo "### Change deployment target to iOS 8.1" +echo "### Use icon set" +echo "### Use correct 60px icon" \ No newline at end of file