flet
flet copied to clipboard
how can i change the app icon on windows desktop app?
I am using pyinstaller to packing the .py script. how can I change the default app icon on the left top corner?
https://flet.dev/docs/guides/python/packaging-desktop-app#customizing-package-icon
thanks for your reply, but when run the exe, the icon is still the original one.
Some people use http://www.angusj.com/resourcehacker/ to change Flet.exe
icon.
Some people use http://www.angusj.com/resourcehacker/ to change
Flet.exe
icon.
I used this following cmd to change the icon. but eventually, this only changes the icon of exe in the folder. when run the exe, the icon is still flet's default icon.
rh.exe -open old.exe -save new.exe -action addskip -res my.ico -mask ICONGROUP,MAINICON,
https://www.cnblogs.com/eersoft/p/16816042.html
- Package the application first (pyinstaller)
- In the packaging folder, replace the icon of .\flet\bin\flet\flet.exe with a custom icon with another tool. I use reshacker
Pro test is effective
Really thanks @eersoft . It works. best answer.