first commit
This commit is contained in:
57
build_wow_multikey.spec
Normal file
57
build_wow_multikey.spec
Normal file
@@ -0,0 +1,57 @@
|
||||
# -*- mode: python ; coding: utf-8 -*-
|
||||
# WoW 多键控制器 GUI - PyInstaller 打包配置
|
||||
# 打包命令: pyinstaller build_wow_multikey.spec
|
||||
|
||||
block_cipher = None
|
||||
|
||||
# 巡逻打怪 / 录制模式需要
|
||||
added_files = [
|
||||
('recorder\\*.json', 'recorder'),
|
||||
('game_state_config.json', '.'),
|
||||
]
|
||||
|
||||
a = Analysis(
|
||||
['wow_multikey_gui.py'],
|
||||
pathex=[],
|
||||
binaries=[],
|
||||
datas=added_files,
|
||||
hiddenimports=[
|
||||
'win32gui', 'win32api', 'win32con',
|
||||
'game_state', 'auto_bot_move', 'auto_bot', 'recorder',
|
||||
'coordinate_patrol', 'death_manager', 'logistics_manager',
|
||||
'stuck_handler', 'player_movement', 'player_position',
|
||||
'pydirectinput', 'pygetwindow', 'pyautogui', 'PIL',
|
||||
],
|
||||
hookspath=[],
|
||||
hooksconfig={},
|
||||
runtime_hooks=[],
|
||||
excludes=[],
|
||||
win_no_prefer_redirects=False,
|
||||
win_private_assemblies=False,
|
||||
cipher=block_cipher,
|
||||
noarchive=False,
|
||||
)
|
||||
|
||||
pyz = PYZ(a.pure, a.zipped_data, cipher=block_cipher)
|
||||
|
||||
exe = EXE(
|
||||
pyz,
|
||||
a.scripts,
|
||||
a.binaries,
|
||||
a.zipfiles,
|
||||
a.datas,
|
||||
[],
|
||||
name='WoW_MultiTool',
|
||||
debug=False,
|
||||
bootloader_ignore_signals=False,
|
||||
strip=False,
|
||||
upx=True,
|
||||
upx_exclude=[],
|
||||
runtime_tmpdir=None,
|
||||
console=False, # GUI 程序,无控制台窗口
|
||||
disable_windowed_traceback=False,
|
||||
argv_emulation=False,
|
||||
target_arch=None,
|
||||
codesign_identity=None,
|
||||
entitlements_file=None,
|
||||
)
|
||||
Reference in New Issue
Block a user