update gitignore

This commit is contained in:
subframe7536 2024-09-11 16:18:58 +08:00
parent 2174479f02
commit 4554221a82
2 changed files with 4 additions and 2 deletions

3
.gitignore vendored
View file

@ -3,4 +3,5 @@ node_modules
dist
/FontPatcher
/fonts
/source/cn/static
/source/cn/static
__pycache__

View file

@ -2,6 +2,7 @@ import platform
import subprocess
from fontTools.ttLib import TTFont
# run command
def run(cli: str | list[str], extra_args: list[str] = []):
subprocess.run((cli.split(" ") if isinstance(cli, str) else cli) + extra_args)
@ -38,4 +39,4 @@ def get_font_forge_bin():
elif "Windows" in system_name:
return WIN_FONTFORGE_PATH
else:
return LINUX_FONTFORGE_PATH
return LINUX_FONTFORGE_PATH