fixes Linux bugs #4
@@ -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:
 | 
			
		||||
 
 | 
			
		||||
@@ -6,7 +6,7 @@ a = Analysis(
 | 
			
		||||
    pathex=[],
 | 
			
		||||
    binaries=[],
 | 
			
		||||
    datas=[],
 | 
			
		||||
    hiddenimports=[],
 | 
			
		||||
    hiddenimports=['qrcode', 'PIL', 'PIL._tkinter_finder', 'pystray._base', 'gi', 'gi.repository.AppIndicator3'],
 | 
			
		||||
    hookspath=[],
 | 
			
		||||
    hooksconfig={},
 | 
			
		||||
    runtime_hooks=[],
 | 
			
		||||
@@ -29,7 +29,7 @@ exe = EXE(
 | 
			
		||||
    upx=True,
 | 
			
		||||
    upx_exclude=[],
 | 
			
		||||
    runtime_tmpdir=None,
 | 
			
		||||
    console=False,
 | 
			
		||||
    console=True,  # Setting to True temporarily for debugging
 | 
			
		||||
    disable_windowed_traceback=False,
 | 
			
		||||
    argv_emulation=False,
 | 
			
		||||
    target_arch=None,
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user