diff --git a/main.spec b/main.spec index 6a8a32a..af0cef9 100644 --- a/main.spec +++ b/main.spec @@ -49,10 +49,17 @@ if platform.system() == 'Darwin': # macOS codesign_identity=None, entitlements_file=None, ) - app = BUNDLE( + coll = COLLECT( exe, a.binaries, a.datas, + strip=False, + upx=True, + upx_exclude=[], + name='server', + ) + app = BUNDLE( + coll, strip=True, name=f'{APP_NAME}.app', icon=None,