File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 27
27
with :
28
28
python-version : ' 3.11'
29
29
30
- - name : Get pip cache dir
30
+ - name : Get pip cache dir
31
31
id : pip-cache
32
32
run : |
33
33
echo "dir=$(pip cache dir)" >> $GITHUB_OUTPUT
Original file line number Diff line number Diff line change 72
72
xvfb-run --auto-servernum pyinstaller fiscalberry-gui.spec
73
73
else
74
74
echo "Running PyInstaller directly on $RUNNER_OS..."
75
- KIVY_NO_WINDOW=1 pyinstaller fiscalberry-gui.spec
75
+ # Set environment variables to prevent Kivy from trying to initialize graphics
76
+ export KIVY_NO_WINDOW=1
77
+ export KIVY_GL_BACKEND=mock
78
+ export KIVY_GRAPHICS=mock
79
+ pyinstaller fiscalberry-gui.spec
76
80
fi
77
81
78
82
- name : List dist directory contents (after build) # Keep this for debugging if needed
You can’t perform that action at this time.
0 commit comments