I'm trying to make pythonmain.py a executable file using pyinstaller, and I want to add an icon to it;
I tried to add the logo01 png file as the icon option but I still got a file with the default logo:
$ pyinstaller --icon=logo01.png pythonmain.py
the file still had the default icon,
update:
I converted the .png to .ico file as suggested in the comments:
$ pyinstaller --icon=logo01.ico pythonmain.py
it deleted the previous folder and made a new executable file, but still with the same default icon;
(file kind is Unix Executable)