上传文件至 core

This commit is contained in:
2025-09-11 11:50:04 +00:00
parent d7ce12823e
commit c09db5533a
5 changed files with 452 additions and 0 deletions

7
core/WebViewWIndow.py Normal file
View File

@@ -0,0 +1,7 @@
import webview
def WebViewWIndow(url: str,title: str,width: int,height: int):#创建Webview窗口
webview.create_window(title=title, url=url, width=width, height=height)
webview.settings['ALLOW_DOWNLOADS'] = True
webview.start(icon="./assets/img/icon.png")
exit(0)