diff --git a/src/start.py b/src/start.py index 7a82ca2..c84cece 100644 --- a/src/start.py +++ b/src/start.py @@ -87,7 +87,7 @@ def start(): creationflags=creation_flags ) - logger.info(f"Spring Boot 应用已在后台启动! PID: {process.pid}") + logger.info(f"应用已在后台启动! PID: {process.pid}") logger.info(f"日志输出: {os.path.abspath(log_file)}") except Exception as e: logger.info(f"启动失败: {str(e)}") @@ -119,7 +119,7 @@ def kill_process_by_port(port): def open_web(): webview.settings['ALLOW_DOWNLOADS'] = True webview.settings['OPEN_DEVTOOLS_IN_DEBUG'] = False - webview.create_window('数据库管理系统', 'http://127.0.0.1:12396/index') + webview.create_window('数据库管理系统', f'http://127.0.0.1:{port}/index') webview.start(debug=True) if __name__ == '__main__': diff --git a/数据库本地运行.docx b/数据库本地运行.docx index 88a0b34..2d71ecf 100644 Binary files a/数据库本地运行.docx and b/数据库本地运行.docx differ