https://github.com/Nonchalant/AppIcon
AppIcon generates *.appiconset contains each resolution image for iOS
https://github.com/Nonchalant/AppIcon
automation cli commandline homebrew ios swift-package-manager xcode
Last synced: 6 months ago
JSON representation
AppIcon generates *.appiconset contains each resolution image for iOS
- Host: GitHub
- URL: https://github.com/Nonchalant/AppIcon
- Owner: Nonchalant
- License: mit
- Created: 2017-05-09T20:58:15.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2023-01-20T05:24:37.000Z (over 2 years ago)
- Last Synced: 2024-10-10T16:04:47.857Z (12 months ago)
- Topics: automation, cli, commandline, homebrew, ios, swift-package-manager, xcode
- Language: Swift
- Homepage: https://github.com/Nonchalant/homebrew-appicon
- Size: 1.88 MB
- Stars: 1,484
- Watchers: 20
- Forks: 86
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
- awesome-starts - Nonchalant/AppIcon - AppIcon generates *.appiconset contains each resolution image for iOS (Swift)
README
# AppIcon
[](https://travis-ci.com/Nonchalant/AppIcon)

[](https://raw.githubusercontent.com/Nonchalant/AppIcon/master/LICENSE.md)
[](https://github.com/Nonchalant/AppIcon/releases)


[](https://github.com/apple/swift-package-manager)`AppIcon` generates `*.appiconset` contains each resolution image for iOS, MacOS.
```
AppIcon.appiconset
├── Contents.json
├── AppIcon-20.0x20.0@2x.png
├── AppIcon-20.0x20.0@3x.png
├── AppIcon-29.0x29.0@2x.png
├── AppIcon-29.0x29.0@3x.png
├── AppIcon-40.0x40.0@2x.png
├── AppIcon-40.0x40.0@3x.png
├── AppIcon-60.0x60.0@2x.png
├── AppIcon-60.0x60.0@3x.png
└── AppIcon-1024.0x1024.0@1x.png
```## Demo

## Installation
### Homebrew
```
$ brew install Nonchalant/appicon/appicon
```### [Mint](https://github.com/yonaskolb/Mint)
```bash
$ mint run nonchalant/appicon
```### Manual
Clone the master branch of the repository, then run make install.
```
$ git clone https://github.com/Nonchalant/AppIcon.git
$ make install
```## Usage
`AppIcon` needs path of base image(`.png`). The size of base image is 1024x1024 pixel preferably.
```
$ appicon iTunesIcon-1024x1024.png
```## Option
You can see options by `appicon --help`.
#### --icon-name
Default: `AppIcon`
#### --output-path
Default: `./AppIcon.appiconset`
#### --mac
Default: false
#### --watch
Default: false
## Develop
### Runs debug build
```
$ make debug
```### Runs release build
```
$ make build
```### Runs tests
```
$ make test
```## Author
Takeshi Ihara
## License
Appicon is available under the MIT license. See the LICENSE file for more info.