make-icns is a cli that converts a single PNG image into a ICNS image

6 min read

make-icns is a cli that converts a single PNG image into a ICNS image. It does very quickly with very good quality! It is designed to be simple to use on your local machine and to be easy to implement in other projects.
Make-icns是将单个PNG图像转换为ICNS图像的CLI。它做得非常快,质量非常好!它被设计成在您的本地计算机上简单使用,并且易于在其他项目中实现。

Installation 安装

You may need to use sudo to install the package globally. If you get an error installing with sudo, you might want to add--unsafe-perm to the command. This CLI has been tested on macOS Catalina and Ubuntu 18.04 (LTS).
您可能需要使用 sudo 全局安装该程序包。如果使用sudo安装时出错,您可能需要将 --unsafe-perm 添加到命令中。该CLI已经在MacOS Catalina和Ubuntu 18.04(LTS)上进行了测试。

$ npm i -g make-icns

After installing the cli globally or on your project, you are ready to use it.
在全局或在您的项目上安装CLI之后,您就可以使用它了。

https://www.npmjs.com/package/make-icns