Add LpcCrOSEC.bin

This commit is contained in:
Stephen Horvath
2025-09-05 19:46:25 +10:00
parent 5f514ab6bb
commit ad099ff5e7
4 changed files with 5 additions and 4 deletions

View File

@@ -30,12 +30,12 @@ jobs:
if: steps.cache-gtk4.outputs.cache-hit != 'true'
run: Expand-Archive -Path Gvsbuild.zip -DestinationPath C:\gtk -Force
- name: Install PyGObject wheel
run: pip install --force-reinstall (Resolve-Path C:\gtk\wheels\PyGObject*.whl) (Resolve-Path C:\gtk\wheels\pycairo*.whl)
- name: Add GTK bin to PATH
run: echo "C:\gtk\bin" | Out-File -Append -Encoding ascii $env:GITHUB_PATH
- name: Install PyGObject wheel
run: pip install --force-reinstall (Resolve-Path C:\gtk\wheels\PyGObject*.whl) (Resolve-Path C:\gtk\wheels\pycairo*.whl)
- name: Install PyInstaller
run: pip install pyinstaller

1
.gitignore vendored
View File

@@ -178,3 +178,4 @@ cython_debug/
# Binary files
*.bin
!pyinstaller/LpcCrOSEC.bin

BIN
pyinstaller/LpcCrOSEC.bin Normal file

Binary file not shown.

View File

@@ -2,7 +2,7 @@
from PyInstaller.utils.hooks import collect_data_files
import os
datas = [('LpcCrOSEC.bin', '.')] if os.path.exists('LpcCrOSEC.bin') else []
datas = [('LpcCrOSEC.bin', '.')] if os.name == 'nt' and os.path.exists('LpcCrOSEC.bin') else []
datas += collect_data_files('yafi')