Skip to content

Commit 09f072a

Browse files
committed
PyInstaller changes for PawnIO
1 parent f2cf2c7 commit 09f072a

3 files changed

Lines changed: 7 additions & 3 deletions

File tree

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,3 +175,6 @@ cython_debug/
175175

176176
# Flatpak builder
177177
.flatpak-builder/
178+
179+
# Binary files
180+
*.bin

pyinstaller/winyafi.spec

100644100755
Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
11
# -*- mode: python ; coding: utf-8 -*-
22
from PyInstaller.utils.hooks import collect_data_files
33

4-
datas = []
4+
datas = [('LpcCrOSEC.bin', '.')]
55
datas += collect_data_files('yafi')
66

77

88
a = Analysis(
99
['winyafi.py'],
1010
pathex=[],
11-
binaries=[('WinRing0x64.dll', '.')],
11+
binaries=[],
1212
datas=datas,
1313
hiddenimports=['cros_ec_python'],
1414
hookspath=[],
1515
hooksconfig={"gi":{"module-versions": {"Gtk": "4.0"}}},
1616
runtime_hooks=[],
1717
excludes=[],
1818
noarchive=False,
19-
optimize=0,
19+
optimize=2,
2020
)
2121
pyz = PYZ(a.pure)
2222

@@ -39,5 +39,6 @@ exe = EXE(
3939
target_arch=None,
4040
codesign_identity=None,
4141
entitlements_file=None,
42+
icon=['yafi.ico'],
4243
uac_admin=True,
4344
)

pyinstaller/yafi.ico

32.1 KB
Binary file not shown.

0 commit comments

Comments
 (0)