-
Notifications
You must be signed in to change notification settings - Fork 505
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
product name ignored by flet build
on windows
#5062
Comments
I see the following
|
The Can be defined in the following ways: [tool.poetry] # or [project]
name = "xyz"
It defaults to the name of you project directory. |
Interesting. So then it is working as expected on windows. But it is not working as expected on Mac OS. When I run
In my pyproject.toml I have
So on MacOS it is the product name that is used to name the app, not the project name, despite what it says in the cookiecutter template. |
Or even more clearer. If I run
I get
And actually If I try to run the same on windows
I get an error
On windows it seems the option
works as expected. |
We will have a look.
Weird. Can you share the full logs with the erroneous command using |
Here it is: |
"Product" name on Windows will be used in Task Bar, Task Manager, about window, executable manifest, etc. and it could(should) be something like "My Great App" (with spaces and other stuff). @asmaier Do you want your Windows executable to be named as |
No, I don't won't to have spaces in my exe name. But what I would like to have is a possibility to change the name of the
Does that make sense? |
Duplicate Check
Describe the bug
When building an app on windows, the name of the
.exe
file generated is not the name configured in pyproject.toml underCode sample
Code
To reproduce
Then edit
pyproject.toml
and change toFinally run
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 variabletool.flet.product
frompyproject.toml
to name the generated executable file also on Windows. On Mac this actually works andwill 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
The text was updated successfully, but these errors were encountered: