mirror of
https://github.com/Steve-Tech/YAFI.git
synced 2026-04-19 16:50:36 +00:00
PyInstaller changes for PawnIO
This commit is contained in:
3
.gitignore
vendored
3
.gitignore
vendored
@@ -175,3 +175,6 @@ cython_debug/
|
|||||||
|
|
||||||
# Flatpak builder
|
# Flatpak builder
|
||||||
.flatpak-builder/
|
.flatpak-builder/
|
||||||
|
|
||||||
|
# Binary files
|
||||||
|
*.bin
|
||||||
|
|||||||
7
pyinstaller/winyafi.spec
Normal file → Executable file
7
pyinstaller/winyafi.spec
Normal file → Executable file
@@ -1,14 +1,14 @@
|
|||||||
# -*- mode: python ; coding: utf-8 -*-
|
# -*- mode: python ; coding: utf-8 -*-
|
||||||
from PyInstaller.utils.hooks import collect_data_files
|
from PyInstaller.utils.hooks import collect_data_files
|
||||||
|
|
||||||
datas = []
|
datas = [('LpcCrOSEC.bin', '.')]
|
||||||
datas += collect_data_files('yafi')
|
datas += collect_data_files('yafi')
|
||||||
|
|
||||||
|
|
||||||
a = Analysis(
|
a = Analysis(
|
||||||
['winyafi.py'],
|
['winyafi.py'],
|
||||||
pathex=[],
|
pathex=[],
|
||||||
binaries=[('WinRing0x64.dll', '.')],
|
binaries=[],
|
||||||
datas=datas,
|
datas=datas,
|
||||||
hiddenimports=['cros_ec_python'],
|
hiddenimports=['cros_ec_python'],
|
||||||
hookspath=[],
|
hookspath=[],
|
||||||
@@ -16,7 +16,7 @@ a = Analysis(
|
|||||||
runtime_hooks=[],
|
runtime_hooks=[],
|
||||||
excludes=[],
|
excludes=[],
|
||||||
noarchive=False,
|
noarchive=False,
|
||||||
optimize=0,
|
optimize=2,
|
||||||
)
|
)
|
||||||
pyz = PYZ(a.pure)
|
pyz = PYZ(a.pure)
|
||||||
|
|
||||||
@@ -39,5 +39,6 @@ exe = EXE(
|
|||||||
target_arch=None,
|
target_arch=None,
|
||||||
codesign_identity=None,
|
codesign_identity=None,
|
||||||
entitlements_file=None,
|
entitlements_file=None,
|
||||||
|
icon=['yafi.ico'],
|
||||||
uac_admin=True,
|
uac_admin=True,
|
||||||
)
|
)
|
||||||
|
|||||||
BIN
pyinstaller/yafi.ico
Executable file
BIN
pyinstaller/yafi.ico
Executable file
Binary file not shown.
|
After Width: | Height: | Size: 32 KiB |
Reference in New Issue
Block a user