Skip to content

Commit 2a0675d

Browse files
committed
Fix pyinstaller for CI and Windows
1 parent 5558053 commit 2a0675d

3 files changed

Lines changed: 4 additions & 3 deletions

File tree

.github/workflows/pyinstaller-linux.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
- name: Install System Dependencies
1414
uses: awalsh128/cache-apt-pkgs-action@latest
1515
with:
16-
packages: python3-gi gir1.2-gtk-4.0 gir1.2-adw-1 libglib2.0-bin
16+
packages: python3-gi gir1.2-gtk-4.0 gir1.2-adw-1 libglib2.0-bin python3-tk
1717
version: 0
1818
- name: Install PyInstaller
1919
run: pip install pyinstaller

pyinstaller/yafi.ico

146 KB
Binary file not shown.

pyinstaller/yafi.spec

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,9 @@ splash = Splash(
2424
'splash.png',
2525
binaries=a.binaries,
2626
datas=a.datas,
27-
text_pos=[4, 480],
28-
text_size=6,
27+
text_pos=(4, 480),
28+
# Text doesn't scale on Linux, but does on Windows
29+
text_size=12 if os.name == 'nt' else 6,
2930
minify_script=True,
3031
always_on_top=True,
3132
)

0 commit comments

Comments
 (0)