From 713eb0101f23cacb0a485ff151a7afd86617501a Mon Sep 17 00:00:00 2001 From: SkyLi Date: Fri, 15 May 2026 17:10:59 +0800 Subject: [PATCH] =?UTF-8?q?=E6=97=A5=E5=BF=97LEVEL=E9=BB=98=E8=AE=A4-1?= =?UTF-8?q?=E5=85=B3=E9=97=AD=EF=BC=8C=E6=9E=84=E5=BB=BA=E9=BB=98=E8=AE=A4?= =?UTF-8?q?--windowed=E6=97=A0=E7=BB=88=E7=AB=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build.bat | 2 +- build.sh | 2 +- log.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/build.bat b/build.bat index c701b08..51ceb4f 100644 --- a/build.bat +++ b/build.bat @@ -62,7 +62,7 @@ if exist build rmdir /s /q build echo [4/4] Building exe with PyInstaller... uv run pyinstaller ^ --onefile ^ - --console ^ + --windowed ^ --name "PickupAuto" ^ --icon="pickup.ico" ^ --add-data "config.json;." ^ diff --git a/build.sh b/build.sh index 10e834f..c9d3467 100755 --- a/build.sh +++ b/build.sh @@ -31,7 +31,7 @@ rm -rf dist build echo "[4/4] Building with PyInstaller..." uv run pyinstaller \ --onefile \ - --console \ + --windowed \ --name "PickupAuto" \ --add-data "config.json:." \ --add-data "pickup.ico:." \ diff --git a/log.py b/log.py index 8722121..3658dc4 100644 --- a/log.py +++ b/log.py @@ -9,7 +9,7 @@ import sys from datetime import datetime -LEVEL = 2 # 编译时修改此值 +LEVEL = -1 # 编译时修改此值 _gui_callback = None # GUI 注册的回调: (msg: str) -> None