diff --git a/aiyunos.pyw b/aiyunos.pyw new file mode 100644 index 0000000..bcfa633 --- /dev/null +++ b/aiyunos.pyw @@ -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_() diff --git a/extkj.pyw b/chatkey.pyw similarity index 84% rename from extkj.pyw rename to chatkey.pyw index 176abcc..b725ae7 100644 --- a/extkj.pyw +++ b/chatkey.pyw @@ -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 diff --git a/qdymys.pyw b/free2gpt.pyw similarity index 90% rename from qdymys.pyw rename to free2gpt.pyw index b6dc842..4f463b9 100644 --- a/qdymys.pyw +++ b/free2gpt.pyw @@ -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 diff --git a/update.pyw b/update.pyw index b420fc0..12f6b82 100644 --- a/update.pyw +++ b/update.pyw @@ -45,6 +45,7 @@ text = ''' 1.2 增加lbbai网站;修复BUG;完全移除“关于”模块...... 1.3 删除lbbai网站;增加1chat网站,里面内涵AI画图功能!;加入WiFi功能 检测;加入在线更新功能 +1.4 加入aiyunos网站; ''' text_box = ScrolledText(root) diff --git a/xz_chat.pyw b/xz_chat.pyw index 47b19e7..20ba6e0 100644 --- a/xz_chat.pyw +++ b/xz_chat.pyw @@ -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():