Skip to content

Commit dad4d60

Browse files
committed
update
1 parent 2c9b7b8 commit dad4d60

File tree

4 files changed

+11
-2
lines changed

4 files changed

+11
-2
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@
22
.swiftpm
33
Package.resolved
44
.build
5+
.vscode

Images/demo.jpg

-209 KB
Binary file not shown.

Images/demo.png

1.06 MB
Loading

README.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ A command line tool and Swift package for generating image assets for Apple plat
88

99
`Assetool` is a SwiftUI app built on top of `AssetKit`. Free download from Mac App Store.
1010

11-
![](/Images/demo.jpg)
11+
![](/Images/demo.png)
1212

1313
# CLI
1414

@@ -48,13 +48,21 @@ assetool image <input> [-o <output>] [--width <width>] [--height <height>]
4848

4949
`--width <width>` and `--height <height>`: @1x width or height of the exported image set. If empty, will use the original width/height as @3x size.
5050

51+
### OSX Iconset
52+
53+
The `osx-iconset` subcommand generates OS X `.iconset` format. See [Icon Set Type](https://developer.apple.com/library/archive/documentation/Xcode/Reference/xcode_ref-Asset_Catalog_Format/IconSetType.html) for details.
54+
55+
```
56+
assetool osx-iconset <input> [-o <output>]
57+
```
58+
5159
# Package
5260

5361
## Installation
5462

5563
```swift
5664
dependencies: [
57-
.package(url: "https://github.com/xnth97/AssetKit", from: "1.0.0"),
65+
.package(url: "https://github.com/xnth97/AssetKit", from: "1.2.1"),
5866
],
5967
```
6068

0 commit comments

Comments
 (0)