From 65bed8d17dc2b450bed860e77144329a6c378324 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=9C=A8=E5=B0=8F=E9=80=8F=E6=98=8E=E3=83=BB=E5=AE=B8?= =?UTF-8?q?=E2=9C=A8?= <47057319+TransparentLC@users.noreply.github.com> Date: Thu, 2 Nov 2023 11:07:27 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AF=95=E8=BF=90=E8=A1=8CPyInstaller=206.*?= =?UTF-8?q?=E6=89=93=E5=8C=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/build.yml | 2 +- realesrgan-gui.spec | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 4fcf9be..636e689 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -46,7 +46,7 @@ jobs: fi - name: Build executable run: | - pip install pyinstaller==5.* + pip install pyinstaller==6.* python -c "import time;open('define.py','a').write(f'\nBUILD_TIME={time.time():.0f}')" if [[ $RUNNER_OS == "Windows" || $RUNNER_OS == "Linux" ]]; then export REGUI_ONEFILE=1 diff --git a/realesrgan-gui.spec b/realesrgan-gui.spec index 4d98fa1..e7c8259 100644 --- a/realesrgan-gui.spec +++ b/realesrgan-gui.spec @@ -10,7 +10,7 @@ a = Analysis( ('icon-256px.ico', '.'), ('icon-128px.png', '.'), # macOS下通过app实现通知,打包时需要附带 - *(collect_data_files('notifypy') if sys.platform == 'darwin' else []), + *collect_data_files('notifypy'), ], hiddenimports=[ 'PIL._tkinter_finder',