test gitattributes
This commit is contained in:
parent
1f273f6adc
commit
7c2ad751a6
2 changed files with 5 additions and 1 deletions
3
.gitattributes
vendored
Normal file
3
.gitattributes
vendored
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
*.ttf binary
|
||||||
|
*.vfc binary
|
||||||
|
*.woff2 binary
|
3
build.py
3
build.py
|
@ -164,13 +164,14 @@ if build_nerd_font:
|
||||||
check_font_patcher()
|
check_font_patcher()
|
||||||
|
|
||||||
# get fontforge python executable path
|
# get fontforge python executable path
|
||||||
|
ffpy = ""
|
||||||
if "Windows" in system:
|
if "Windows" in system:
|
||||||
ffpy = path.join(
|
ffpy = path.join(
|
||||||
environ.get("ProgramFiles(x86)"), "FontForgeBuilds\\bin\\ffpython.exe"
|
environ.get("ProgramFiles(x86)"), "FontForgeBuilds\\bin\\ffpython.exe"
|
||||||
)
|
)
|
||||||
elif "Darwin" in system:
|
elif "Darwin" in system:
|
||||||
ffpy = "/Applications/FontForge.app/Contents/MacOS/FFPython"
|
ffpy = "/Applications/FontForge.app/Contents/MacOS/FFPython"
|
||||||
if not path.exists(ffpy):
|
if ffpy == "" or not path.exists(ffpy):
|
||||||
ffpy = sys.executable
|
ffpy = sys.executable
|
||||||
|
|
||||||
font_dir = (
|
font_dir = (
|
||||||
|
|
Loading…
Reference in a new issue