Fix pyinstaller for CI and Windows

This commit is contained in:
Stephen Horvath
2025-09-17 16:51:33 +10:00
parent 55580535db
commit 2a0675d3be
3 changed files with 4 additions and 3 deletions

View File

@@ -13,7 +13,7 @@ jobs:
- name: Install System Dependencies
uses: awalsh128/cache-apt-pkgs-action@latest
with:
packages: python3-gi gir1.2-gtk-4.0 gir1.2-adw-1 libglib2.0-bin
packages: python3-gi gir1.2-gtk-4.0 gir1.2-adw-1 libglib2.0-bin python3-tk
version: 0
- name: Install PyInstaller
run: pip install pyinstaller

Binary file not shown.

Before

Width:  |  Height:  |  Size: 32 KiB

After

Width:  |  Height:  |  Size: 178 KiB

View File

@@ -24,8 +24,9 @@ splash = Splash(
'splash.png',
binaries=a.binaries,
datas=a.datas,
text_pos=[4, 480],
text_size=6,
text_pos=(4, 480),
# Text doesn't scale on Linux, but does on Windows
text_size=12 if os.name == 'nt' else 6,
minify_script=True,
always_on_top=True,
)