Skip to content
This repository was archived by the owner on Oct 19, 2020. It is now read-only.

Commit 5229480

Browse files
author
Patrick Senti (shrebo)
committed
update documentation
1 parent 190eb6b commit 5229480

File tree

2 files changed

+20
-0
lines changed

2 files changed

+20
-0
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,13 @@
22
All notable changes to this project [will be documented](http://keepachangelog.com/) in this file.
33
This project *tries to* adhere to [Semantic Versioning](http://semver.org/).
44

5+
## [0.7.0] - 2016-14-17
6+
7+
- uses config/res as the default folder to persist generated icons (not backwards compatible)
8+
- Add --help option
9+
- Ability to specify output path
10+
- Backwards-compatibility mode to use platforms path instead of new defaults (-c)
11+
512
## [0.6.0] - 2016-03-08
613
- Allow platform-specific icons (0c26dfe)
714

README.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,25 @@ Then run:
2323

2424
$ cordova-icon
2525

26+
You may specify the output path and directory as follows:
27+
28+
# output to path/to/res/icon
29+
$ cordova-splash -p path/to/res icon
30+
31+
WARNING: If you were using a previous version of cordova-icon and expect the generated files to be in their respective ./platforms
32+
path, use the compability mode:
33+
34+
$ cordova-icon -c
35+
36+
This will override the -p and -i settings.
37+
2638
For good results, your file shoud be:
2739

2840
- square
2941
- for Android and iOS, at least 192\*192px (512\*512px recommended to be future-proof)
3042
- for Windows, at least 1240\*1240px
3143

44+
3245
### Creating a cordova-cli hook
3346

3447
Since the execution of cordova-icon is pretty fast, you can add it as a cordova-cli hook to execute before every build.

0 commit comments

Comments
 (0)