We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent feb16ff commit 8232c26Copy full SHA for 8232c26
1 file changed
pyinstaller.spec
@@ -71,17 +71,20 @@ if sys.platform == 'linux':
71
72
pyz = PYZ(a.pure, a.zipped_data, cipher=block_cipher)
73
74
-splash = Splash(
75
- 'pyinstaller/splash_screen.png',
76
- binaries=a.binaries,
77
- datas=a.datas,
78
-)
+if sys.platform != 'darwin':
+ splash = Splash(
+ 'pyinstaller/splash_screen.png',
+ binaries=a.binaries,
+ datas=a.datas,
79
+ )
80
+ splash_scripts = [splash, splash.binaries]
81
+else:
82
+ splash_scripts = []
83
84
exe = EXE(
85
pyz,
86
a.scripts,
- splash,
- splash.binaries,
87
+ *splash_scripts,
88
a.binaries,
89
a.zipfiles,
90
a.datas,
0 commit comments