cordova-splash-cli
v0.3.6
Published
Automatic splash screen cropping for Cordova
Downloads
5
Readme
cordova-splash
Automatic splash screen generator for Cordova. Create a splash screen (2208x2208) once in the root folder of your Cordova project and use cordova-splash to automatically crop and copy it for all the platforms your project supports (currenty works with iOS and Android).
Installation
$ sudo npm install cordova-splash-cli -g
Usage
Create a splash.png
file in the root folder of your cordova project and run:
$ cordova-splash
To specify a custom splash image or config file use it like this:
$ cordova-splash --splash path/to/splash --config /path/to/config
Requirements
- ImageMagick
Install on a Mac:
$ brew install imagemagick
- At least one platform was added to your project (cordova platforms docs)
- Cordova's config.xml file must exist in the root folder (cordova config.xml docs)
License
MIT