-
Notifications
You must be signed in to change notification settings - Fork 446
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
The code architecture require improve #529
Comments
Lines 275 to 286 in 5f915d5
Lines 372 to 379 in 5f915d5
|
oh,I forgot to check this, i will make a strikethrough for it, however,the second still require a fix. |
That's all related to #161 First, it's not a good solution to unpack Flet client to a temp folder. Will be fixed in the next release. |
Maybe I'm not right regarding attributes inside zip. I'm verifying that. |
Anyway, let's close this issue in favour of #161 |
No, I was wrong! The problem is not permissions, but symlinks. macOS application bundle (Flet.app) has symlinked directories/files inside and |
but why but a bundle inside package?i think put the file directly will be better |
What do you mean by "file"? |
the flet client(for example |
On macOS Flutter produces a bundle, not a single executable. |
Rencently, i road the code of this project, but I found there are several things can be done in a more beautiful way
Firstly,fletd
will be download by the code when the first time run. however,pipy can distribute the packages for each system and architecture, so the you needn't download it by your self, just bundle them into the package, (see flet.py,line 284)Secondly, the flet client has the same problem to the fletd and it will be decompression everytime that system boot on linux, because
/tmp
is a "ramdisk" on most linux. so, just put the uncompression client files into the package this will make it start fasterIn addition could you add a full api reference?
(Sorry for my English)
The text was updated successfully, but these errors were encountered: