Skip to content

Commit

Permalink
add exe build options
Browse files Browse the repository at this point in the history
  • Loading branch information
fe-art committed Sep 17, 2024
1 parent f74493d commit 6657a3b
Showing 1 changed file with 50 additions and 0 deletions.
50 changes: 50 additions & 0 deletions ClashRoyaleBuildABot.spec
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
# ClashRoyaleBot.spec
from PyInstaller.utils.hooks import collect_all

a = Analysis(
['main.py'],
binaries=[],
datas=[
('clashroyalebuildabot', 'clashroyalebuildabot'),
('clashroyalebuildabot/images/cards', 'clashroyalebuildabot/images/cards'),
('clashroyalebuildabot/images/screen', 'clashroyalebuildabot/images/screen'),
('clashroyalebuildabot/debug/labels', 'clashroyalebuildabot/debug/labels'),
('clashroyalebuildabot/debug/screenshots', 'clashroyalebuildabot/debug/screenshots'),
('clashroyalebuildabot/emulator/platform-tools', 'clashroyalebuildabot/emulator/platform-tools'),
('clashroyalebuildabot/gui', 'clashroyalebuildabot/gui'),
('clashroyalebuildabot/models', 'clashroyalebuildabot/models'),
('clashroyalebuildabot/namespaces', 'clashroyalebuildabot/namespaces'),
('clashroyalebuildabot/utils', 'clashroyalebuildabot/utils')
],
hiddenimports=[],
hookspath=[],
hooksconfig={},
runtime_hooks=[],
excludes=[],
noarchive=False,
optimize=0,
)

pyz = PYZ(a.pure)

exe = EXE(
pyz,
a.scripts,
a.binaries,
a.datas,
[],
name='ClashRoyaleBot',
debug=False,
bootloader_ignore_signals=False,
strip=False,
upx=True,
upx_exclude=[],
runtime_tmpdir=None,
console=True,
disable_windowed_traceback=False,
argv_emulation=False,
target_arch=None,
codesign_identity=None,
entitlements_file=None,
icon=['clashroyalebuildabot\\images\\icon.ico'],
)

0 comments on commit 6657a3b

Please sign in to comment.