I'm having trouble with my pyinstaller executable, when I launch it I get this error:
The problem is due to the exe not being able to find an image file 'icon.ico' because pyinstaller didn't package the file inside the executable file. What I'm asking is how I would package the icon inside the EXE file and what the directory for that icon file would be after it has been packaged. The image file is being used as an icon for a Tkinter GUI.
This is the code for the Tkinter app:
app = Tk()
app.title('MagnetMagnet - RARBG Scraper')
app.iconbitmap(r'icon.ico')
app.geometry('500x225')
app.mainloop()