Skip to content

Commit

Permalink
试运行PyInstaller 6.*打包
Browse files Browse the repository at this point in the history
  • Loading branch information
TransparentLC committed Nov 2, 2023
1 parent 29c43dd commit 65bed8d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion realesrgan-gui.spec
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit 65bed8d

Please sign in to comment.