Desktop Favicon Failed - How to fix this (help Wanted) #5212
-
File: test_icon.py (Save in the same folder as main.py, e.g., Src/)import flet as ft def main(page: ft.Page):
--- Running the minimal app ---if name == "main":
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Are you using Windows or Mac? Is this when built (Flet Build), or when using Flet Run, or are you using Flet Pack? Try using Flet Build, and see what you get - I'm unsure whether the Favicon will be picked up using Flet Run (although, I haven't developed on Windows since Flet Pack tbh) |
Beta Was this translation helpful? Give feedback.
-
Try this:
|
Beta Was this translation helpful? Give feedback.
Try this:
assets_dir = "assets"
page.window.icon = "favicon.ico"