pangao1990 / PPX

基于Python和JavaScript,一键生成macOS、Windows和Linux平台客户端应用程序
https://blog.pangao.vip/docs-ppx/
GNU Affero General Public License v3.0
232 stars 39 forks source link

请问有可能在main.py中再加一个 fastapi 吗 #35

Closed Jackiexiao closed 2 months ago

Jackiexiao commented 8 months ago

看起来会跟 webview.start() 冲突,看起来得新建一个进程运行 fastapi

Jackiexiao commented 8 months ago

看起来可行,找到一个 snippet: https://gist.github.com/eli-kha/06a47bfdf1e50f4cdfc3f43a199a6d2d

Jackiexiao commented 8 months ago

还有这个 https://github.com/Jscina/PyPass/blob/master/server.py