Created
June 12, 2018 12:11
-
-
Save BoboTiG/2e5790792f29136ad9814d1a836538f3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- mode: python -*- | |
block_cipher = None | |
icon = '/Applications/Calculator.app/Contents/Resources/AppIcon.icns' # Eventually change me | |
a = Analysis(['systray.py'], | |
pathex=[], | |
binaries=[], | |
datas=[], | |
hiddenimports=[], | |
hookspath=[], | |
runtime_hooks=[], | |
excludes=[], | |
win_no_prefer_redirects=False, | |
win_private_assemblies=False, | |
cipher=block_cipher) | |
pyz = PYZ(a.pure, a.zipped_data, | |
cipher=block_cipher) | |
exe = EXE(pyz, | |
a.scripts, | |
exclude_binaries=True, | |
name='systray', | |
debug=False, | |
strip=False, | |
upx=False, | |
icon=icon, | |
console=False) | |
coll = COLLECT(exe, | |
a.binaries, | |
a.zipfiles, | |
a.datas, | |
strip=False, | |
upx=False, | |
name='systray') | |
# Play with no value and then one value at a time | |
info_plist = { | |
#'LSUIElement': True, | |
#'LSBackgroundOnly': True, | |
} | |
app = BUNDLE(coll, | |
name='systray.app', | |
icon=icon, | |
info_plist=info_plist, | |
bundle_identifier=None) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment