Closed zzjc1234 closed 5 months ago
Have you tested whether pyinstaller can work on this?
Yes, the exe works well. I disablesd the output in console, I think users may not need it.
The updator may have some unknown problem, but the updator.py should be modified anyway. Maybe I will fix it in another pr.
For executables the old updater doesn't work because it is based on git
Maybe we can just remove git update logic when building for executables.
It seems that I didn't solve the dependency well, currently the exe only works under the dir with canvas_mgr.py and etc. I will try to fix it.
Also we need to migrate some arguments from uvicorn to the executables, eg. the port and base_url
I think we can remove the updater support. It is not very helpful and needs git dependency.
do not merge until everything is set
Please fix the build error.
I think we should first merge it to the dev branch otherwise current users will be affected
This pr modified canvas_app s.t. the code can be packed with pyinstaller