Skip to content

Commit

Permalink
make sure smile path is included in the windows build
Browse files Browse the repository at this point in the history
  • Loading branch information
Shotgunosine committed Nov 18, 2024
1 parent bdb3baf commit abc2bd7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/build_executables.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,9 @@ jobs:
- name: package cogmood
shell: bash -l {0}
run: |
cd package
export PYTHONPATH=$PWD/smile:$PYTHONPATH
cd package
echo $PATH
export KIVY_GL_BACKEND=angle_sdl2
python -m PyInstaller cogmood_windows.spec
- name: save exe
Expand Down
2 changes: 1 addition & 1 deletion package/cogmood_windows.spec
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ data = [
]

a = Analysis(['..\\main.py'],
pathex=[''],
pathex=['..\\smile'],
binaries=[],
datas=data,
hiddenimports=[],
Expand Down

0 comments on commit abc2bd7

Please sign in to comment.