This commit is contained in:
dengrb1
2023-07-23 21:05:37 +08:00
committed by GitHub
parent b96d03ffc9
commit 5c5bbd4311
5 changed files with 34 additions and 6 deletions

27
aiyunos.pyw Normal file
View File

@@ -0,0 +1,27 @@
from PyQt5.QtCore import QUrl
from PyQt5.QtWidgets import QApplication, QMainWindow, QToolBar, QAction
from PyQt5.QtWebEngineWidgets import QWebEngineView
class BrowserWindow(QMainWindow):
def __init__(self):
super().__init__()
self.setWindowTitle("Chat Browser")
self.setGeometry(100, 100, 800, 600)
# Create the QWebEngineView widget
self.web_view = QWebEngineView(self)
self.web_view.load(QUrl("https://chat2.aiyunos.top"))
self.setCentralWidget(self.web_view)
# Create the QToolBar widget and add a QAction for the refresh button
toolbar = QToolBar(self)
self.addToolBar(toolbar)
refresh_action = QAction("Refresh", self)
refresh_action.triggered.connect(self.web_view.reload)
toolbar.addAction(refresh_action)
if __name__ == "__main__":
app = QApplication([])
window = BrowserWindow()
window.show()
app.exec_()

View File

@@ -5,12 +5,12 @@ from PyQt5.QtWebEngineWidgets import QWebEngineView
class BrowserWindow(QMainWindow):
def __init__(self):
super().__init__()
self.setWindowTitle("Chat Browser")
self.setWindowTitle("AI Browser")
self.setGeometry(100, 100, 800, 600)
# Create the QWebEngineView widget and set the URL to "https://chat.extkj.cn"
# Create the QWebEngineView widget and set the URL to "https://nav.chatkey.top/"
self.web_view = QWebEngineView(self)
self.web_view.load(QUrl("https://chat.extkj.cn"))
self.web_view.load(QUrl("https://nav.chatkey.top/"))
self.setCentralWidget(self.web_view)
# Create the QToolBar widget and add a QAction for the refresh button

View File

@@ -10,7 +10,7 @@ class BrowserWindow(QMainWindow):
# Create the QWebEngineView widget
self.web_view = QWebEngineView(self)
self.web_view.load(QUrl("https://chatgpt.qdymys.cn/"))
self.web_view.load(QUrl("https://chatc.free2gpt.xyz/"))
self.setCentralWidget(self.web_view)
# Create the QToolBar widget and add a QAction for the refresh button

View File

@@ -45,6 +45,7 @@ text = '''
1.2 增加lbbai网站修复BUG;完全移除“关于”模块......
1.3 删除lbbai网站增加1chat网站里面内涵AI画图功能加入WiFi功能
检测;加入在线更新功能
1.4 加入aiyunos网站
'''
text_box = ScrolledText(root)

View File

@@ -36,11 +36,11 @@ def open_exe(exe_name):
else:
messagebox.showerror('system', file_error)
def extkj():
open_exe("extkj")
open_exe("aiyunos")
def wuguokai():
open_exe("wuguokai")
def qdymys():
open_exe("qdymys")
open_exe("free2gpt")
def bnu120():
open_exe('bnu120')
def xjai():