Skip to content
项目

krestaino/macos-folder-icons

在 GitHub 查看

关于

📁 Generate custom folder icons using images or SF Symbols.

设计与媒体

这些数字如何统计

实测星标增长

24小时
0
7天
+2
15天
+2
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

macOS Folder Icons

This script generates custom folder icons using images (SVG, PNG, etc) or SF Symbols. The blank folder icon is extracted from your system, you may need to change the path location and file name depending on your OS version. This script targets macOS 12.x and 13.0.

Screenshot

Requirements

ImageMagick 7

Getting Started

  1. Download or clone the repo and open a terminal at the root of the project.
  2. Place images in the custom folder if you want to use SVGs or PNGs.
  3. Copy symbols into the symbols.txt file if you want to use SF Symbols.
  4. Run ./build.sh to build the icons.
  5. Icons are located in the build folder.

Using Icons

https://support.apple.com/en-gu/guide/mac-help/mchlp2313/mac

Building on a different macOS version

  1. Edit ASSETS_LOCATION to the appropriate path for your OS version.
  2. Edit DARK_FOLDER and LIGHT_FOLDER to the appropriate file names of the extracted assets.

Contributing

Pull requests are welcome. I don't write Shell scripts much, so there's probably plenty of areas for improvement. A few things I'd like to add:

  • Automatically detect the OS version and set the correct asset path and folder file name.
  • Error handling. If this script fails, and you'll probably have no idea why.
  • Not including acextract in this repo.
  • Use something other than ImageMagick, it's quite slow if you build a lot of icons at once.
  • Building a web app so users can easily make icons from their browser.

探索相关项目

加载中…