pyinstaller wont include icon code example
Example: PyInstaller can't change the shortcut icon
pyinstaller -F -i C:\aNote\theme\anoteicon.ico --clean anotemain.spec
pyinstaller -F -i C:\aNote\theme\anoteicon.ico --clean anotemain.spec