diff --git a/__pycache__/apps.cpython-310.pyc b/__pycache__/apps.cpython-310.pyc index d9f83bb..ff7f4f5 100644 Binary files a/__pycache__/apps.cpython-310.pyc and b/__pycache__/apps.cpython-310.pyc differ diff --git a/apps.py b/apps.py index 8c67771..2cd5650 100644 --- a/apps.py +++ b/apps.py @@ -8,6 +8,9 @@ login_user_key = "f0649fc2aeb411eda71f00163e095b49" aotu_user_url = f"https://auth.mc-user.com:233/{login_user_key}/" cra_mc_server_api = "" +login_web_page = "" +register_web_page = "" + server_list_configfile = "config_app/server_list_config.db" login_json_file = "config_app/login_user.json" diff --git a/config_app/login_user.json b/config_app/login_user.json index bbf9c8e..08bc834 100644 --- a/config_app/login_user.json +++ b/config_app/login_user.json @@ -1 +1 @@ -{"accessToken": "336491270a1611ef92c5e252f2c508d4", "clientToken": "32cbdf4d-0a16-11ef-92c5-e252f2c508d4", "id": "a6143eb7a7883daab9a05dbe052879a1", "name": "GameDaBai"} \ No newline at end of file +{"accessToken": "6110ce0e0bc711ef92c5e252f2c508d4", "clientToken": "6065ac1d-0bc7-11ef-92c5-e252f2c508d4", "id": "a6143eb7a7883daab9a05dbe052879a1", "name": "GameDaBai"} \ No newline at end of file diff --git a/main.py b/main.py index 640febf..e406283 100644 --- a/main.py +++ b/main.py @@ -106,8 +106,8 @@ class Login_users_window_app(QWidget): with open(file=apps.login_json_file, mode='w', encoding="UTF-8", newline='') as f_write: json.dump(data_login_file, f_write) self.destroy() - self.start_craserver_client_window = My_APP_Window(data=data_login_file, code=0) - self.start_craserver_client_window.show() + self.login_user_window = Login_Window_app() + self.login_user_window.show() return None def mousePressEvent(self, event): @@ -215,6 +215,7 @@ class My_APP_Window(QTabWidget): def start_games_apps(self): if self.server_list.currentRow() == -1: return apps.Message_ok(message="请先选择需要加入的服务器") + return None def zxh_apps(self):