Open
Description
Duplicate Check
- I have searched the opened issues and there are no duplicates
Describe the bug
When building an app on windows, the name of the .exe
file generated is not the name configured in pyproject.toml under
[tool.flet]
# project display name that is used as an app title on Android and iOS home screens,
# shown in window titles and about app dialogs on desktop.
product = "my-product"
Code sample
Code
[Paste your code here]
To reproduce
uv init flet_test --bare
cd flet_test
uv add flet[all] --dev
uv run flet create
Then edit pyproject.toml
and change to
[tool.flet]
product = "my-product"
Finally run
uv run flet build windows
This will create .\build\windows\flet_test.exe
instead of the expected .\build\windows\my-product.exe
Expected behavior
I expect flet build
to use the variable tool.flet.product
from pyproject.toml
to name the generated executable file also on Windows. On Mac this actually works and
uv run flet build macos
will generate build/macos/my-product.app
as expected.
Screenshots / Videos
Captures
[Upload media here]
Operating System
Windows
Operating system details
Windows 11 Pro 64Bit Arm
Flet version
0.27.5
Regression
No, it isn't
Suggestions
No response
Logs
Logs
[Paste your logs here]
Additional details
No response