fixes Linux bugs

This commit is contained in:
2025-06-05 15:12:31 -07:00
parent 45dfe44b59
commit 073bfbf7d9
2 changed files with 9 additions and 5 deletions

View File

@@ -66,26 +66,30 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.11'
- name: Install system dependencies
run: |
sudo apt-get update
sudo apt-get install -y python3-tk python3-dev
sudo apt-get install -y libappindicator3-dev gir1.2-appindicator3-0.1
sudo apt-get install -y libcairo2-dev libgirepository1.0-dev
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pyinstaller
# Remove tkinter from requirements before installing
grep -v "tkinter" requirements.txt > requirements_filtered.txt
pip install -r requirements_filtered.txt
pip install -r requirements.txt
pip install pycairo PyGObject
- name: Build executable
run: |
pyinstaller macropad_linux.spec
- name: Upload Linux artifact
uses: actions/upload-artifact@v3
with: