Skip to content

Commit

Permalink
Update project_exporter.spec
Browse files Browse the repository at this point in the history
  • Loading branch information
CookSleep authored Jul 18, 2024
1 parent 86bb1e2 commit 5b1c1f0
Showing 1 changed file with 6 additions and 13 deletions.
19 changes: 6 additions & 13 deletions project_exporter.spec
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,17 @@ pyz = PYZ(a.pure, a.zipped_data, cipher=block_cipher)
exe = EXE(
pyz,
a.scripts,
a.binaries,
a.zipfiles,
a.datas,
[],
exclude_binaries=True,
name='项目文件导出工具',
debug=False,
bootloader_ignore_signals=False,
strip=False,
upx=True,
upx_exclude=[],
runtime_tmpdir=None,
console=False,
disable_windowed_traceback=False,
argv_emulation=False,
Expand All @@ -39,22 +43,11 @@ exe = EXE(
icon='icon-3种尺寸.ico'
)

coll = COLLECT(
exe,
a.binaries,
a.zipfiles,
a.datas,
strip=False,
upx=True,
upx_exclude=[],
name='项目文件导出工具',
)

# 仅在 macOS 上添加 BUNDLE
import sys
if sys.platform == 'darwin':
app = BUNDLE(
coll,
exe,
name='项目文件导出工具.app',
icon='icon-3种尺寸.icns',
bundle_identifier=None,
Expand Down

0 comments on commit 5b1c1f0

Please sign in to comment.