Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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: about 21 hours ago
JSON representation

AppIcon generates *.appiconset contains each resolution image for iOS

Awesome Lists containing this project

README

        

# AppIcon

[![Build Status](https://travis-ci.com/Nonchalant/AppIcon.svg?branch=master)](https://travis-ci.com/Nonchalant/AppIcon)
![platforms](https://img.shields.io/badge/platforms-iOS-333333.svg)
[![GitHub license](https://img.shields.io/badge/license-MIT-lightgrey.svg)](https://raw.githubusercontent.com/Nonchalant/AppIcon/master/LICENSE.md)
[![GitHub release](https://img.shields.io/github/release/Nonchalant/AppIcon.svg)](https://github.com/Nonchalant/AppIcon/releases)
![Xcode](https://img.shields.io/badge/Xcode-14.2-brightgreen.svg)
![Swift](https://img.shields.io/badge/Swift-5.7.2-brightgreen.svg)
[![Swift Package Manager compatible](https://img.shields.io/badge/Swift%20Package%20Manager-compatible-brightgreen.svg)](https://github.com/apple/swift-package-manager)

`AppIcon` generates `*.appiconset` contains each resolution image for iOS, MacOS.

```
AppIcon.appiconset
├── Contents.json
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
└── [email protected]
```

## Demo

![](Document/Images/appicon.gif)

## 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.