Compare commits

..

6 Commits
v0.8.5 ... main

Author SHA1 Message Date
ded281cc64 Merge pull request 'Working on the Linux Build Issues' (#5) from fix-linux-update into main
All checks were successful
Build and Release / create-release (push) Successful in 3s
Build and Release / build-windows (push) Successful in 36s
Build and Release / build-linux (push) Successful in 1m7s
Build and Release / attach-to-release (push) Successful in 4s
Reviewed-on: #5
2025-06-05 22:21:49 +00:00
f0af9ad84e Working on the Linux Build Issues 2025-06-05 15:21:34 -07:00
00120c8562 Merge pull request 'fixes Linux bugs' (#4) from update-build-and-docs into main
Some checks failed
Build and Release / create-release (push) Successful in 4s
Build and Release / build-windows (push) Successful in 39s
Build and Release / build-linux (push) Failing after 1m1s
Build and Release / attach-to-release (push) Has been skipped
Reviewed-on: #4
2025-06-05 22:13:17 +00:00
073bfbf7d9 fixes Linux bugs 2025-06-05 15:12:31 -07:00
c4d151a6d2 Merge pull request 'Fix build errors' (#3) from update-build-and-docs into main
All checks were successful
Build and Release / create-release (push) Successful in 4s
Build and Release / build-linux (push) Successful in 33s
Build and Release / build-windows (push) Successful in 4m19s
Build and Release / attach-to-release (push) Successful in 9s
Reviewed-on: #3
2025-06-05 21:39:27 +00:00
45dfe44b59 Fix build errors 2025-06-05 14:39:00 -07:00
3 changed files with 39 additions and 9 deletions

View File

@ -34,6 +34,11 @@ 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:
@ -61,18 +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
# 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,25 +1,39 @@
# -*- mode: python ; coding: utf-8 -*-
block_cipher = None
a = Analysis(
['main.py'],
pathex=[],
binaries=[],
datas=[],
hiddenimports=[],
hiddenimports=[
'qrcode',
'PIL._tkinter_finder',
'pystray._base',
'gi',
'gi.repository.Gtk',
'gi.repository.AppIndicator3',
'gi.repository.GdkPixbuf',
'packaging.version',
'packaging.specifiers',
'packaging.requirements',
],
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)
pyz = PYZ(a.pure, a.zipped_data, cipher=block_cipher)
exe = EXE(
pyz,
a.scripts,
a.binaries,
a.zipfiles,
a.datas,
[],
name='macropad',
@ -29,7 +43,7 @@ exe = EXE(
upx=True,
upx_exclude=[],
runtime_tmpdir=None,
console=False,
console=True, # Set to True for debugging
disable_windowed_traceback=False,
argv_emulation=False,
target_arch=None,

View File

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