You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 15, 2019. It is now read-only.
I added a few lines so that, when this script is run from the root folder of a PhoneGap project (the one containing all the platforms) the default phonegap robot icons for Android and iOS are overwritten with the new one. Annoyingly, for iOS you still have to define them in Xcode, but if you use Asset Catalogs you probably only have to do that once.
The code:
After
[ "$3" ] || set "$1" "$2" "."
I added these lines to grab the folder name, ie the name of the project. Within the iOS project structure, there's a folder with the same name as the project, so the code needs to grab that so it can write directly into the iOS project.
proj=${PWD##*/};
echo "project name: $proj";
These lines go after the other icon generating lines:
I added a few lines so that, when this script is run from the root folder of a PhoneGap project (the one containing all the platforms) the default phonegap robot icons for Android and iOS are overwritten with the new one. Annoyingly, for iOS you still have to define them in Xcode, but if you use Asset Catalogs you probably only have to do that once.
The code:
After
I added these lines to grab the folder name, ie the name of the project. Within the iOS project structure, there's a folder with the same name as the project, so the code needs to grab that so it can write directly into the iOS project.
These lines go after the other icon generating lines:
..and these lines go after the splash generating lines:
The text was updated successfully, but these errors were encountered: