Skip to content

Commit

Permalink
Update makelist.py
Browse files Browse the repository at this point in the history
  • Loading branch information
tetunori committed Jan 1, 2025
1 parent 7ffbd90 commit 95102b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion makelist.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ def getCodePoint(glyph_dir: str):
codepoint = "_".join(filter(partial(ne, "fe0f"), codepoint.split(" ")))
return codepoint

subprocess.run('rm glyphs.js', shell=True)
subprocess.run('[ -e glyphs.js ] && rm glyphs.js', shell=True)
print(f"const gGlyphs = [", file=codecs.open('glyphs.js', 'a', 'utf-8'))

pathList = list(Path("fluentui-emoji/assets").iterdir())
Expand Down

0 comments on commit 95102b9

Please sign in to comment.