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=[],