在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):rikumi/iconsur开源软件地址(OpenSource Url):https://github.com/rikumi/iconsur开源编程语言(OpenSource Language):Shell 75.6%开源软件介绍(OpenSource Introduction):IconSur: macOS Big Sur Adaptive Icon Generator
The generation is based on the most related iOS app from the App Store, or, if there isn't one, is created from the original icon, in which case the background color and the scaling can be customized. InstallationInstall it easily: Using homebrewbrew install iconsur Using npmnpm install -g iconsur UsageDownload the Start generating your first adaptive app icon: sudo iconsur set /Applications/Microsoft\ Word.app/
# Update the system icon cache and reload Finder & Dock
sudo iconsur cache
# Then the new icon will appear, and will last until the App is updated next time. This will search for the App Store and use the most related iOS app. For apps from the Mac App Store, By default, the name for the macOS app is used to search for a corresponding iOS app. You can change the keyword by specifying If your app only has a corresponding iOS app in non-America store, you may like to specify the 2-letter country code with option sudo iconsur set /Applications/QQMusic.app/ -r cn
sudo iconsur cache For apps that do not have a corresponding iOS app, an irrelevant app can be found. In these cases, you may need to specify the sudo iconsur set /Applications/Visual\ Studio\ Code.app/ -l
sudo iconsur cache You can also use your own original icon with the sudo iconsur set /Applications/Visual\ Studio\ Code.app/ -l -i /path/to/your/icon
sudo iconsur cache By default, the original app icon is scaled by 0.9 and is applied to a white background. You may like to change the scaling and background color of the icon. However, if the original icon is opaque, it will not get scaled down in case you specify an original opaque iOS icon from an app developer or a jailbreak icon pack. sudo iconsur set /Applications/Visual\ Studio\ Code.app/ -l -s 0.8 -c 87cdf0
sudo iconsur cache To remove the icon previously set for a specific app, use the sudo iconsur unset /Applications/Microsoft\ Word.app/
sudo iconsur unset /Applications/Visual\ Studio\ Code.app/
sudo iconsur cache ExampleSee my personal iconsur setup as an example. CreditsThanks to LiteIcon for the original inspiration, and fileicon by mklement0 for the script for icon customization. |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论