flet icon indicating copy to clipboard operation
flet copied to clipboard

how can i change the app icon on windows desktop app?

Open fsuper opened this issue 1 year ago • 4 comments

image

I am using pyinstaller to packing the .py script. how can I change the default app icon on the left top corner?

fsuper avatar Sep 29 '22 06:09 fsuper

image

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.

fsuper avatar Sep 29 '22 11:09 fsuper

Some people use http://www.angusj.com/resourcehacker/ to change Flet.exe icon.

FeodorFitsner avatar Sep 29 '22 15:09 FeodorFitsner

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,

fsuper avatar Sep 30 '22 01:09 fsuper

https://www.cnblogs.com/eersoft/p/16816042.html

  1. Package the application first (pyinstaller)
  2. 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

eersoft avatar Oct 22 '22 15:10 eersoft

Really thanks @eersoft . It works. best answer.

fsuper avatar Oct 24 '22 09:10 fsuper