From 91705678e100819a5bed528e69a57952fad42095 Mon Sep 17 00:00:00 2001 From: yuruo Date: Mon, 3 Jun 2024 18:39:35 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20=E6=9B=B4=E6=96=B0(package.bat)?= =?UTF-8?q?=EF=BC=9A=E6=9B=B4=E6=96=B0package.bat=E8=84=9A=E6=9C=AC?= =?UTF-8?q?=E4=BB=A5=E5=88=9B=E5=BB=BA=E5=86=85=E9=83=A8=E6=96=87=E4=BB=B6?= =?UTF-8?q?=E5=A4=B9=5Fself=5Futils=E5=B9=B6=E5=A4=8D=E5=88=B6=E9=85=8D?= =?UTF-8?q?=E7=BD=AE=E6=96=87=E4=BB=B6=20=20=20=F0=9F=93=9D=20=E6=9B=B4?= =?UTF-8?q?=E6=96=B0(package.bat)=EF=BC=9A=E6=B3=A8=E9=87=8A=E6=8E=89?= =?UTF-8?q?=E4=B8=8D=E5=86=8D=E9=9C=80=E8=A6=81=E7=9A=84=E7=A7=BB=E5=8A=A8?= =?UTF-8?q?=E5=92=8C=E9=87=8D=E5=91=BD=E5=90=8D=E6=93=8D=E4=BD=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.bat | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/package.bat b/package.bat index cae4064..0406d01 100644 --- a/package.bat +++ b/package.bat @@ -1,10 +1,9 @@ echo Y | pyinstaller -D -w --add-data=pages/*.ui:pages --add-data=source/*:source -i source/logo.ico --hidden-import=tiktoken_ext.openai_public --hidden-import=tiktoken_ext --name=autoMate main.py -move dist/autoMate/_internal/pages dist/autoMate/pages -move dist/autoMate/_internal/source dist/autoMate/source -copy "config_tmp.yaml" "dist/autoMate/config.yaml" +mkdir dist/autoMate/_internal/self_utils +@REM move dist/autoMate/_internal/pages dist/autoMate/pages +@REM move dist/autoMate/_internal/source dist/autoMate/source +copy "config_tmp.yaml" "dist/autoMate/_internal/config.yaml" -@REM cd dist/main -@REM ren "main.exe" "autoMate.exe" cd dist del "autoMate.zip" powershell Compress-Archive -Path autoMate -DestinationPath autoMate.zip