From b9996bff83bc6c3a354e51364d7a9fe11e664138 Mon Sep 17 00:00:00 2001 From: Zhengyu Peng Date: Fri, 24 Dec 2021 14:46:13 -0500 Subject: [PATCH] update --- .github/workflows/build_pc_client_windows.yml | 5 +++-- software/pc/hexapod.spec | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build_pc_client_windows.yml b/.github/workflows/build_pc_client_windows.yml index 99e27a0..4af6474 100644 --- a/.github/workflows/build_pc_client_windows.yml +++ b/.github/workflows/build_pc_client_windows.yml @@ -26,8 +26,9 @@ jobs: pip install PySide6 psutil pyinstaller - name: PyInstaller run: | - pyinstaller .\software\pc\hexapod.spec - copy .\software\pc\mainwindow.ui .\hexapod\dist\hexapod\ + cd software\pc + pyinstaller hexapod.spec + copy mainwindow.ui .\build\hexapod\ - name: Archive built module uses: actions/upload-artifact@v2 if: success() diff --git a/software/pc/hexapod.spec b/software/pc/hexapod.spec index c8e45ac..f9bed1e 100644 --- a/software/pc/hexapod.spec +++ b/software/pc/hexapod.spec @@ -4,7 +4,7 @@ block_cipher = None a = Analysis(['hexapod.py'], - pathex=['./hexapod'], + pathex=['./pc'], binaries=[], datas=[('./res', 'res')], hiddenimports=[],