--
You received this message because you are subscribed to the Google Groups "PyInstaller" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pyinstaller...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pyinstaller/68616ce5-30c3-47fb-a4b1-76675d3374ffn%40googlegroups.com.
However, when I click on the .app icon, the icon bounces in the system tray, then closes, and, after about 15 seconds, re-opens.
It’s a side effect of --onefile mode combined with --windowed mode (or the .spec file equivalents). Because a onefile executable is an executable within an executable you get a bouncing icon for the outer executable which disappears when macOS realizes that it’s not really a GUI then the inner executable launches which creates a new bouncy icon. The fix is just not to use onefile mode which is fairly useless combined with windowed. It should boost your startup time too.