From cc23a18318dfea90cba5a64d03139c1de892fe15 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=81=8D=E5=85=AE=E6=83=9A=E5=85=AE?= <1173718158@qq.com> Date: Fri, 15 Nov 2024 10:14:57 +0800 Subject: [PATCH] net --- .github/scripts/collectall_xp.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/scripts/collectall_xp.py b/.github/scripts/collectall_xp.py index 16245781..e5a8ed5a 100644 --- a/.github/scripts/collectall_xp.py +++ b/.github/scripts/collectall_xp.py @@ -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")