1.0.6 • Published 10 years ago
cordova-gen v1.0.6
Cordova icon and land screen generator
Install
npm install cordova-gen -g
Usage
$ cd YOUR_PROJECT_FOLER
$ cp config.xml www/config.xml
$ cordova-gen www/img/all.png "#000"
Note
- cordova-gen read app name from
www/config.xml
. for example , config.xml has<name>Tidean</name>
. thenCordova build ios
will build a folder likeplatforms/ios/Tidean/Resources/
www/img/all.png
is a 2048x2048 image file , which will convert to many sizes includes icon & land screen"#000"
is the background color of generated land screen image files , it should be double quotedcordova-gen
must be executed in YOUR_PROJECT_ROOT- now only suport iOS and Android