上传文件至 /
This commit is contained in:
10
AppMain.py
10
AppMain.py
@@ -9,6 +9,7 @@ os.chdir(os.path.dirname(os.path.abspath(__file__))) # 切换到当前目录
|
||||
import core.WebApp as WebApp
|
||||
import core.PyWebPageAPI as PyWebPageAPI
|
||||
import core.WebViewWIndow as WebViewWIndow
|
||||
import core.DBServices as DBServices
|
||||
import ProjectCfg
|
||||
|
||||
|
||||
@@ -48,7 +49,14 @@ def main():
|
||||
daemon=True
|
||||
)
|
||||
app_thread.start()
|
||||
|
||||
|
||||
# 启动数据库
|
||||
dbServices_thread = threading.Thread(
|
||||
target=DBServices.DBStart,
|
||||
daemon=True
|
||||
)
|
||||
dbServices_thread.start()
|
||||
# 启动Webview
|
||||
try:
|
||||
WebViewWIndow.WebViewWIndow(#窗口配置
|
||||
f'http://127.0.0.1:{StartPort}',
|
||||
|
Reference in New Issue
Block a user