Compare commits

..

No commits in common. "main" and "v0.8.5" have entirely different histories.
main ... v0.8.5

3 changed files with 9 additions and 39 deletions

View File

@ -34,11 +34,6 @@ jobs:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: '16'
- name: Set up Python
uses: actions/setup-python@v4
with:
@ -66,30 +61,18 @@ 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
# Pystray requirements
sudo apt-get install -y libgtk-3-dev python3-gi python3-gi-cairo gir1.2-gtk-3.0
# Direct dependencies for system tray functionality
sudo apt-get install -y gir1.2-appindicator3-0.1
# Additional libraries
sudo apt-get install -y libcairo2-dev libgirepository1.0-dev
# For QR code display
sudo apt-get install -y python3-pil.imagetk
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pyinstaller
pip install -r requirements.txt
- name: Build executable
run: |
pyinstaller macropad_linux.spec

View File

@ -1,39 +1,25 @@
# -*- mode: python ; coding: utf-8 -*-
block_cipher = None
a = Analysis(
['main.py'],
pathex=[],
binaries=[],
datas=[],
hiddenimports=[
'qrcode',
'PIL._tkinter_finder',
'pystray._base',
'gi',
'gi.repository.Gtk',
'gi.repository.AppIndicator3',
'gi.repository.GdkPixbuf',
'packaging.version',
'packaging.specifiers',
'packaging.requirements',
],
hiddenimports=[],
hookspath=[],
hooksconfig={},
runtime_hooks=[],
excludes=[],
win_no_prefer_redirects=False,
win_private_assemblies=False,
cipher=block_cipher,
noarchive=False,
optimize=0,
)
pyz = PYZ(a.pure, a.zipped_data, cipher=block_cipher)
pyz = PYZ(a.pure)
exe = EXE(
pyz,
a.scripts,
a.binaries,
a.zipfiles,
a.datas,
[],
name='macropad',
@ -43,7 +29,7 @@ exe = EXE(
upx=True,
upx_exclude=[],
runtime_tmpdir=None,
console=True, # Set to True for debugging
console=False,
disable_windowed_traceback=False,
argv_emulation=False,
target_arch=None,

View File

@ -5,3 +5,4 @@ flask
waitress
netifaces
qrcode
tkinter