You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have searched the opened issues and there are no duplicates
Describe the bug
I used a conda virtual environment and pyinstaller to package my application, resulting in a size of 53.8MB. Using flet pack resulted in a package size of 77.8MB. When using flet build, the size went over 100MB... For version 2.5.2, installing only flet[desktop] and packaging with pyinstaller yielded a perfect 17MB. However, when running on other computers, it apparently requires downloading flet for Windows. The package created by flet pack automatically downloads and installs flet[cli], ending up being 77.8MB again.
I noticed there is a libmpv-2.dll file, sized 28.3MB, located in Lib\site-packages\flet_desktop\app\flet. It seems to provide MPV player functionality, which I don't use for audio/video features in my application. Can I remove this file?
excess,right click on the application on the Windows taskbar,flet's own name (flet.exe、flet descriptions) came up,I would like to display the application's own name and icon
pyinstall exe:
pack exe:
Code sample
import flet as ft
def main(page: ft.Page):
page.window.icon = '../logo.ico'
page.title = 'main'
page.add(ft.Row([]))
if __name__ == '__main__':
ft.app(target=main)
Duplicate Check
Describe the bug
I used a conda virtual environment and pyinstaller to package my application, resulting in a size of 53.8MB. Using flet pack resulted in a package size of 77.8MB. When using flet build, the size went over 100MB... For version 2.5.2, installing only flet[desktop] and packaging with pyinstaller yielded a perfect 17MB. However, when running on other computers, it apparently requires downloading flet for Windows. The package created by flet pack automatically downloads and installs flet[cli], ending up being 77.8MB again.
I noticed there is a libmpv-2.dll file, sized 28.3MB, located in Lib\site-packages\flet_desktop\app\flet. It seems to provide MPV player functionality, which I don't use for audio/video features in my application. Can I remove this file?
excess,right click on the application on the Windows taskbar,flet's own name (flet.exe、flet descriptions) came up,I would like to display the application's own name and icon
pyinstall exe:
pack exe:
Code sample
To reproduce
Operating System
Windows
Operating system details
windows 11
Flet version
2.5.2
Regression
I'm not sure / I don't know
The text was updated successfully, but these errors were encountered: