mirror of
https://github.com/Steve-Tech/YAFI.git
synced 2026-04-19 16:50:36 +00:00
Fix pyinstaller for CI and Windows
This commit is contained in:
2
.github/workflows/pyinstaller-linux.yml
vendored
2
.github/workflows/pyinstaller-linux.yml
vendored
@@ -13,7 +13,7 @@ jobs:
|
|||||||
- name: Install System Dependencies
|
- name: Install System Dependencies
|
||||||
uses: awalsh128/cache-apt-pkgs-action@latest
|
uses: awalsh128/cache-apt-pkgs-action@latest
|
||||||
with:
|
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
|
version: 0
|
||||||
- name: Install PyInstaller
|
- name: Install PyInstaller
|
||||||
run: pip install pyinstaller
|
run: pip install pyinstaller
|
||||||
|
|||||||
Binary file not shown.
|
Before Width: | Height: | Size: 32 KiB After Width: | Height: | Size: 178 KiB |
@@ -24,8 +24,9 @@ splash = Splash(
|
|||||||
'splash.png',
|
'splash.png',
|
||||||
binaries=a.binaries,
|
binaries=a.binaries,
|
||||||
datas=a.datas,
|
datas=a.datas,
|
||||||
text_pos=[4, 480],
|
text_pos=(4, 480),
|
||||||
text_size=6,
|
# Text doesn't scale on Linux, but does on Windows
|
||||||
|
text_size=12 if os.name == 'nt' else 6,
|
||||||
minify_script=True,
|
minify_script=True,
|
||||||
always_on_top=True,
|
always_on_top=True,
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user