Skip to content
This repository has been archived by the owner on Aug 13, 2020. It is now read-only.

Commit

Permalink
fix: always extension from binfont.zip
Browse files Browse the repository at this point in the history
  • Loading branch information
atoring committed May 13, 2018
1 parent ae89c4d commit a7a29b4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions general/general.py
Original file line number Diff line number Diff line change
Expand Up @@ -206,8 +206,7 @@ def patch_font():
os.remove("./data/common.dat")

# binfont
if not os.path.exists("../binfont/out/notosanscjksc-medium.otf.binfont"):
subprocess.Popen(["../compile/unzip", "-d", "../binfont/out/", "../binfont/out/notosanscjksc-medium.otf.binfont.zip"]).wait()
subprocess.Popen(["../compile/unzip", "-d", "../binfont/out/", "../binfont/out/notosanscjksc-medium.otf.binfont.zip"]).wait()
shutil.copy2("../binfont/out/notosanscjksc-medium.otf.binfont", "./out/common/notosanscjksc-medium.otf.binfont")

# pack
Expand Down

0 comments on commit a7a29b4

Please sign in to comment.