Commit 1bf5f4e3 authored by Jack Jansen's avatar Jack Jansen

If not icon file is specified use the default Python Applet icons.

Fixes 719303.
parent b7c01421
......@@ -289,6 +289,10 @@ def process_common_macho(template, progress, code, rsrcname, destname, is_update
icnsname = None
else:
plistname = None
if not icnsname:
dft_icnsname = os.path.join(sys.prefix, 'Resources/Python.app/Contents/Resources/PythonApplet.icns')
if os.path.exists(dft_icnsname):
icnsname = dft_icnsname
if not os.path.exists(rsrcname):
rsrcname = None
if progress:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment