Skip to content

Commit ad02225

Browse files
committed
fix: build for linux
1 parent d6135de commit ad02225

3 files changed

Lines changed: 5 additions & 4 deletions

File tree

.github/workflows/build-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
python-version: '3.x'
2323

2424
- name: Install Python dependencies
25-
run: pip install cx_Freeze pynput Pillow requests
25+
run: pip install cx_Freeze pynput Pillow requests pystray
2626

2727
- name: Install system dependencies
2828
run: sudo apt-get install -y imagemagick zsync python3-tk libfuse2

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,5 @@ src/**/__pycache__
1717
src/.DS_Store
1818
appimagetool.AppImage
1919
src/*.egg-info
20-
*.AppDir
20+
*.AppDir
21+
PyMacroRecord-*-*.AppImage*

setup_cx.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,10 @@
2626
packages += [
2727
"pynput.keyboard._win32",
2828
"pynput.mouse._win32",
29-
"pystray",
3029
]
3130

32-
excludes = [] if sys.platform == "win32" else ["pystray"]
31+
packages += ["pystray"]
32+
excludes = []
3333

3434
include_files = [
3535
("src/assets", "assets"),

0 commit comments

Comments
 (0)