Skip to content

Commit

Permalink
Update workflow to allow for websockets to work
Browse files Browse the repository at this point in the history
  • Loading branch information
Ashvin-Ranjan authored Jul 11, 2021
1 parent fead436 commit 32f7afc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
python -m pip install --upgrade pip
pip install -r python/requirements.txt
- name: Run PyInstaller
run: pyinstaller --noconfirm --onedir --console --icon "icons/n.icns" --add-data "python/syntax.lark:." "python/n.py"
run: pyinstaller --noconfirm --onedir --console --icon "icons/n.icns" --add-data "python/syntax.lark:." --hiddenimport websockets.legacy --hiddenimport websockets.legacy.client "python/n.py"

- name: Create Zip Archive
uses: papeloto/action-zip@v1
Expand Down Expand Up @@ -57,7 +57,7 @@ jobs:
pip install -r python/requirements.txt
- name: Run PyInstaller
run: pyinstaller --noconfirm --onedir --console --icon "icons/n.ico" --add-data "python/syntax.lark;." "python/n.py"
run: pyinstaller --noconfirm --onedir --console --icon "icons/n.ico" --add-data "python/syntax.lark;." --hiddenimport websockets.legacy --hiddenimport websockets.legacy.client "python/n.py"

- name: Create Zip Archive
uses: papeloto/action-zip@v1
Expand Down

0 comments on commit 32f7afc

Please sign in to comment.