From 0b62591e82c5bed5a9c7a3254603b3329ef7dfcd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E6=97=AD?= Date: Wed, 11 Oct 2023 09:03:02 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E4=BF=AE=E5=A4=8D=E4=B8=AD=E6=96=87?= =?UTF-8?q?=E5=AD=97=E7=AC=A6=E6=98=BE=E7=A4=BA=20=E4=B8=8D=E7=9F=A5?= =?UTF-8?q?=E4=B8=BA=E4=BD=95=20python=20=E7=9A=84=20stdout=20=E7=9A=84?= =?UTF-8?q?=E7=BC=96=E7=A0=81=E9=BB=98=E8=AE=A4=E4=B8=BA=20ANSI=EF=BC=8C?= =?UTF-8?q?=E8=80=8C=E4=B8=8D=E6=98=AF=20UTF-8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- publish.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/publish.py b/publish.py index a587e5316..a8b9ad2ce 100644 --- a/publish.py +++ b/publish.py @@ -85,6 +85,8 @@ def __init__(self, uuid_): if os.system("\"" + msbuildPath + "\" /p:Configuration=Release;Platform=x64;OutDir=..\\..\\publish\\ src\\Updater") != 0: raise Exception("编译 Updater 失败") +print("编译完成", flush=True) + ##################################################################### # # 清理不需要的文件 @@ -120,7 +122,7 @@ def remove_folder(folder): for folder in ["Microsoft.UI.Xaml", "Magpie.App"]: remove_folder(folder) -print("清理完毕") +print("清理完毕", flush=True) ##################################################################### # @@ -184,4 +186,4 @@ def remove_folder(folder): os.remove("resources.pri.xml") os.remove("priconfig.xml") -print("已修剪 resources.pri") +print("已修剪 resources.pri", flush=True)