Skip to content

Automatic generate Icon and Splash for IONIC and Cordova

License

Notifications You must be signed in to change notification settings

silo/ion-resources

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ion-resources

Base on https://github.com/AlexDisler/cordova-splash and https://github.com/AlexDisler/cordova-icon and https://github.com/helixhuang/ionic-resources

Automatic splash screen and icon generator for Cordova/Ionic alternative for ionic cloud generator. Create a splash screen (2732x2732) and an icon (1024x1024) once in the resources folder of your Cordova project and use cordova-resgen to automatically crop and copy it for all the platforms your project supports (currenty works with iOS, Android and Windows 10).

Installation

Install it globally: $ npm install ion-resources -g run it with: ion-resources or install it locally: $ npm install ion-resources --save then you can run it like this: ./node-modules/.bin/ion-resources

Requirements

  • GraphicsMagick installed (Mac: brew install graphicsmagick, Debian/Ubuntu: sudo apt-get install graphicsmagick, Windows: See here)
  • 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)

Usage

Create a splash.png and a 'icon.png' file in the root folder of your cordova project and run:

$ ionic-resources
$ ionic-resources --icon
$ ionic-resources --splash

License

MIT

About

Automatic generate Icon and Splash for IONIC and Cordova

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published