Skip to content

Commit

Permalink
Update build.py
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathanqwq authored Mar 28, 2021
1 parent f0304c0 commit 1f5c4a9
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion build.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,22 @@
f.write("\nimport py2exe\n")
f.write("\nsetup(console=[\""+a+".py"+"\"])\n")
file = open("setup.bat","w")
file.write("python setup.py py2exe")
file.write("echo off\n")
file.write("python setup.py py2exe\n")
file.write("\n")
file.write("\n")
file.write("\n")
file.write("\n")
file.write("\n")
file.write("\n")
file.write("\n")
file.write("\n")
file.write("\n")
file.write("\n")
file.write("echo please open the \"dist\" folder!\n")
file.write("pause")
time.sleep(1)
print("请运行“setup.bat”")
time.sleep(1)
input("按回车键结束。")

0 comments on commit 1f5c4a9

Please sign in to comment.