We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Unfortunately Flet does not support it at the moment during run-time:
Therefore building using Poetry and distributing Ki-nTree via PyPI will show the default application icon, examples:
The only way to add an icon is to require the user to build the app locally and package it with the flet pack command and --icon option: https://flet.dev/docs/guides/python/packaging-desktop-app#customizing-package-icon It might be added to Poetry's pyproject.toml file with something like:
flet pack
--icon
pyproject.toml
[tool.poetry.scripts] kintree_build = flet pack --icon ...
This still feels very like a lot of work for just getting the proper icon!
The text was updated successfully, but these errors were encountered:
I've tried it and unfortunately PyInstaller does not support icons on Linux:
WARNING: Ignoring icon; supported only on Windows and macOS!
What a disappointment 😞
^5.8.0
kintree_build = 'kintree.build_app:build'
build_app.py
kintree
import os def build(): os.system('flet pack kintree_gui.py --icon logo.png') if __name__ == '__main__': build()
Sorry, something went wrong.
Won't make it into 1.0.0 as there is no support for this feature in Flet yet.
1.0.0
eeintech
Successfully merging a pull request may close this issue.
Unfortunately Flet does not support it at the moment during run-time:
Therefore building using Poetry and distributing Ki-nTree via PyPI will show the default application icon, examples:
The only way to add an icon is to require the user to build the app locally and package it with the
flet pack
command and--icon
option: https://flet.dev/docs/guides/python/packaging-desktop-app#customizing-package-iconIt might be added to Poetry's
pyproject.toml
file with something like:This still feels very like a lot of work for just getting the proper icon!
The text was updated successfully, but these errors were encountered: