Skip to content

Commit 3d68de2

Browse files
committed
fix(ci): add pynput xorg hidden imports for linux build
1 parent fdf6bba commit 3d68de2

File tree

3 files changed

+1
-1
lines changed

3 files changed

+1
-1
lines changed

.github/workflows/build_release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ jobs:
107107
VERSION_TAG: ${{ needs.create_release.outputs.tag_name }}
108108
run: |
109109
# 1. Build Base Binary
110-
pyinstaller --name WASP --onefile --windowed --add-data "core:core" --add-data "gui:gui" main.py
110+
pyinstaller --name WASP --onefile --windowed --add-data "core:core" --add-data "gui:gui" --hidden-import "pynput.keyboard._xorg" --hidden-import "pynput.mouse._xorg" main.py
111111
# Rename binary
112112
cp dist/WASP "dist/WASP-${{ env.VERSION_TAG }}-linux"
113113
1.44 KB
Binary file not shown.

output/wasp.exe

-46.6 MB
Binary file not shown.

0 commit comments

Comments
 (0)