Created
February 27, 2022 17:56
-
-
Save balcsida/9541de5f76b90ab86bf6a4a22ea82585 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# Required tools: | |
# - curl | |
# - 7z (for extracting dmg) | |
# - docker | |
curl -LO https://devimages-cdn.apple.com/design/resources/download/SF-Mono.dmg | |
7z e SF-Mono.dmg 'SFMonoFonts/SF Mono Fonts.pkg' | |
7z e 'SF Mono Fonts.pkg' | |
7z e 'Payload~' -oinput | |
mkdir output | |
docker run -v "$(pwd)"/input:/in -v "$(pwd)"/output:/out nerdfonts/patcher -c --careful | |
rm -rf input 'SF Mono Fonts.pkg' 'Payload~' SF-Mono.dmg |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment