From 4d50c73ecba8df7e9f890ed05a3a96946991cac3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AF=92=E5=AF=92?= <2596194220@qq.com> Date: Thu, 11 Dec 2025 21:49:54 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E6=9B=B4=E6=96=B0=E4=BB=A3=E7=A0=81?= =?UTF-8?q?=E5=BC=80=E6=BA=90=E5=8D=8F=E8=AE=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- IFLOW.md | 10 ++++++++++ LICENSE | 21 +++++++++++++++++++++ README.md | 6 +++++- 3 files changed, 36 insertions(+), 1 deletion(-) create mode 100644 LICENSE diff --git a/IFLOW.md b/IFLOW.md index 012afc1..546261a 100644 --- a/IFLOW.md +++ b/IFLOW.md @@ -56,6 +56,11 @@ - 安装所需字体文件 - 配置系统环境 +### 8. 字体安装 (🔤 字体安装) +- 自动检测系统是否安装了指定字体 +- 自动安装项目所需的字体文件 +- 支持方正兰亭黑简体和方正少儿简体字体 + ## 主要文件结构 ``` @@ -64,6 +69,9 @@ growth_report/ ├── UI.py # 图形用户界面入口 ├── config.env.toml # 项目配置文件 ├── pyproject.toml # 项目依赖配置 +├── start_app.bat # Windows启动批处理文件 +├── README.md # 项目说明文档 +├── IFLOW.md # 项目详细说明文档 ├── config/ │ ├── config.py # 配置加载工具 │ └── output/ # 配置输出目录 @@ -185,6 +193,8 @@ pip install -r requirements.txt - **错误处理**: 完善的异常处理和日志记录 - **生肖计算**: 自动根据生日计算生肖 - **模板导出**: 支持导出标准数据模板 +- **字体管理**: 自动安装和检测所需字体 +- **跨平台兼容**: 支持Windows环境运行 ## 开发约定 diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..8bcd507 --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2024 hanhanshibaobei + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. \ No newline at end of file diff --git a/README.md b/README.md index 10c2666..21cc22c 100644 --- a/README.md +++ b/README.md @@ -16,6 +16,7 @@ - 🎨 **双界面**: 提供命令行界面和图形界面,满足不同用户需求 - 🐲 **生肖计算**: 根据生日自动计算生肖信息 - 📦 **模板导出**: 生成标准化数据模板,快速上手 +- 🔤 **字体安装**: 自动检测和安装所需字体文件 ## 🛠️ 技术栈 @@ -92,6 +93,7 @@ python main.py 5. **🐂 生肖转化**: 根据生日计算生肖 6. **📦 导出数据模板**: 生成标准化模板 7. **📤 初始化系统**: 配置系统环境 +8. **🔤 字体安装**: 自动安装和检测所需字体 ### Excel数据格式 @@ -133,6 +135,8 @@ growth_report/ ├── config.env.toml # 项目配置文件 ├── pyproject.toml # 项目依赖配置 ├── start_app.bat # 启动脚本 +├── README.md # 项目说明文档 +├── IFLOW.md # 项目详细说明文档 ├── config/ │ ├── config.py # 配置加载工具 │ └── output/ # 配置输出目录 @@ -224,7 +228,7 @@ A: 系统会自动安装所需字体,如仍有问题请手动安装 `fonts/` 如有问题或建议,请通过以下方式联系: - 项目地址: https://gitee.com/hanhanshibaobei/growthreport.git -- 邮箱: your-email@example.com +- 邮箱: 27448307@qq.com ---