This commit is contained in:
恍兮惚兮 2024-11-15 10:14:57 +08:00
parent 3e62d72c2e
commit cc23a18318

View File

@ -2,7 +2,7 @@ import shutil, os
import platform
import sys
os.system('python generate_xp_code.py')
os.system("git clone https://github.com/HIllya51/py3.4_pyqt5.5.1")
os.system("git clone --depth 1 https://github.com/HIllya51/py3.4_pyqt5.5.1")
os.rename("py3.4_pyqt5.5.1/Python34", "runtime")
targetdir = r"build\LunaTranslator_x86_winxp"
@ -29,6 +29,7 @@ def copycheck(src, tgt):
copycheck(os.path.join(launch, "LunaTranslator.exe"), targetdir)
copycheck(os.path.join(launch, "LunaTranslator_debug.exe"), targetdir)
os.remove('./LunaTranslator/requests.py')
copycheck("./LunaTranslator", targetdir)
copycheck(r".\files", targetdir)
copycheck("runtime", targetdir + "/files")