icns

Easily create .icns files (Mac Icons) with this Go library or the included CLI.
Log | Files | Refs | LICENSE

commit 535d9c990efe3cbd39175c80a8ada9f2b5cd02cd
parent 307d2e851b0af0bdd1ac3892780a27e82bfa306d
Author: Jack Mordaunt <jackmordaunt@gmail.com>
Date:   Sat, 29 May 2021 21:00:18 +0800

docs: fix install command

Signed-off-by: Jack Mordaunt <jackmordaunt@gmail.com>

Diffstat:
Mreadme.md | 6++++--
1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/readme.md b/readme.md @@ -22,7 +22,7 @@ Note: All icons within the `icns` are sized for high dpi retina screens, using t ### Go Tool ``` -go install github.com/jackmordaunt/icns/cmd/preview@latest +go install github.com/jackmordaunt/icns/v2/cmd/preview@latest ``` ### Clone @@ -41,7 +41,7 @@ Note: Gio cannot be cross-compiled right now, so there are no `preview` builds i ### Go Tool ``` -go install github.com/jackmordaunt/icns/cmd/icnsify@latest +go install github.com/jackmordaunt/icns/v2/cmd/icnsify@latest ``` ### Clone @@ -65,6 +65,8 @@ Standard ## Library +`go get github.com/jackmordaunt/icns/v2` + ```go func main() { pngf, err := os.Open("path/to/icon.png")