githubnext / monaspace

An innovative superfamily of fonts for code
https://monaspace.githubnext.com
SIL Open Font License 1.1
13.18k stars 220 forks source link

MacOS install script #83

Closed shivan-s closed 7 months ago

shivan-s commented 7 months ago

For the macOS install script should it refer to the /font directory as a parent?

So instead of ./font

#!/bin/bash

# remove all fonts from ~/library/fonts that start with "monaspace"
rm -rf ~/library/fonts/monaspace*

# copy all fonts from ./otf to ~/library/fonts
cp ./fonts/otf/* ~/library/fonts

# copy variable fonts from ./variable to ~/library/fonts
cp ./fonts/variable/* ~/library/fonts

We have ../font

#!/bin/bash

# remove all fonts from ~/library/fonts that start with "monaspace"
rm -rf ~/library/fonts/monaspace*

# copy all fonts from ./otf to ~/library/fonts
cp ../fonts/otf/* ~/library/fonts

# copy variable fonts from ./variable to ~/library/fonts
cp ../fonts/variable/* ~/library/fonts

Happy to contribute to this issue.

shivan-s commented 7 months ago

This will be fixed when #71 is merged.