Skip to content

Commit

Permalink
auto copy Englis readme in build script
Browse files Browse the repository at this point in the history
  • Loading branch information
guredora403 committed Feb 24, 2024
1 parent fdd155f commit 3dbf0f9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tools/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,8 @@ def build(self, package_path, build_filename):
print("Building...")
os.mkdir(package_path)
shutil.copyfile("addon\\doc\\ja\\readme.md", os.path.join(package_path, "readme_ja.txt"))
if os.path.exists("addon\\doc\\en\\readme.md"):
shutil.copyfile("addon\\doc\\en\\readme.md", os.path.join(package_path, "readme_en.txt"))
shutil.copyfile("license", os.path.join(package_path, "license.txt"))
if os.path.isdir("public"):
print("copying public files...")
Expand Down

0 comments on commit 3dbf0f9

Please sign in to comment.