This repository was archived by the owner on Oct 19, 2020. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +20
-0
lines changed
Expand file tree Collapse file tree 2 files changed +20
-0
lines changed Original file line number Diff line number Diff line change 22All notable changes to this project [ will be documented] ( http://keepachangelog.com/ ) in this file.
33This 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
Original file line number Diff line number Diff 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+
2638For 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
3447Since the execution of cordova-icon is pretty fast, you can add it as a cordova-cli hook to execute before every build.
You can’t perform that action at this time.
0 commit comments